Class BlockCommunicationNameable

java.lang.Object
net.minecraft.client.world.BlockCommunicationNameable
All Implemented Interfaces:
NamedScreenHandlerFactory, Nameable

@Environment(CLIENT) public class BlockCommunicationNameable extends Object implements NamedScreenHandlerFactory
Mappings:
Namespace Name
official bmt
intermediary net/minecraft/class_2392
named net/minecraft/client/world/BlockCommunicationNameable
  • Field Details

    • id

      private String id
      Mappings:
      Namespace Name Mixin selector
      official a Lbmt;a:Ljava/lang/String;
      intermediary field_10638 Lnet/minecraft/class_2392;field_10638:Ljava/lang/String;
      named id Lnet/minecraft/client/world/BlockCommunicationNameable;id:Ljava/lang/String;
    • text

      private Text text
      Mappings:
      Namespace Name Mixin selector
      official b Lbmt;b:Lew;
      intermediary field_10639 Lnet/minecraft/class_2392;field_10639:Lnet/minecraft/class_1982;
      named text Lnet/minecraft/client/world/BlockCommunicationNameable;text:Lnet/minecraft/text/Text;
  • Constructor Details

    • BlockCommunicationNameable

      public BlockCommunicationNameable(String id, Text text)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbmt;<init>(Ljava/lang/String;Lew;)V
      intermediary <init> Lnet/minecraft/class_2392;<init>(Ljava/lang/String;Lnet/minecraft/class_1982;)V
      named <init> Lnet/minecraft/client/world/BlockCommunicationNameable;<init>(Ljava/lang/String;Lnet/minecraft/text/Text;)V
  • Method Details

    • createScreenHandler

      public ScreenHandler createScreenHandler(PlayerInventory inventory, PlayerEntity player)
      Specified by:
      createScreenHandler in interface NamedScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official a Lqn;a(Lzi;Lzj;)Laau;
      intermediary method_10905 Lnet/minecraft/class_2608;method_10905(Lnet/minecraft/class_987;Lnet/minecraft/class_988;)Lnet/minecraft/class_1002;
      named createScreenHandler Lnet/minecraft/screen/NamedScreenHandlerFactory;createScreenHandler(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official h_ Lqt;h_()Ljava/lang/String;
      intermediary method_2518 Lnet/minecraft/class_2611;method_2518()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/text/Nameable;getTranslationKey()Ljava/lang/String;
    • hasCustomName

      public boolean hasCustomName()
      Specified by:
      hasCustomName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official o_ Lqt;o_()Z
      intermediary method_5339 Lnet/minecraft/class_2611;method_5339()Z
      named hasCustomName Lnet/minecraft/text/Nameable;hasCustomName()Z
    • getId

      public String getId()
      Specified by:
      getId in interface NamedScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official k Lqn;k()Ljava/lang/String;
      intermediary method_10906 Lnet/minecraft/class_2608;method_10906()Ljava/lang/String;
      named getId Lnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;
    • method_6344

      public Text method_6344()
      Specified by:
      method_6344 in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official i_ Lqt;i_()Lew;
      intermediary method_6344 Lnet/minecraft/class_2611;method_6344()Lnet/minecraft/class_1982;
      named method_6344 Lnet/minecraft/text/Nameable;method_6344()Lnet/minecraft/text/Text;