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 ctm
intermediary net/minecraft/class_2392
named net/minecraft/client/world/BlockCommunicationNameable
  • Field Details

    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official a Lctm;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 final Text text
      Mappings:
      Namespace Name Mixin selector
      official b Lctm;b:Lij;
      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> Lctm;<init>(Ljava/lang/String;Lij;)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 Ladl;a(Laof;Laog;)Lapv;
      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;
    • method_15540

      public Text method_15540()
      Specified by:
      method_15540 in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official N_ Ladr;N_()Lij;
      intermediary method_15540 Lnet/minecraft/class_2611;method_15540()Lnet/minecraft/class_1982;
      named method_15540 Lnet/minecraft/text/Nameable;method_15540()Lnet/minecraft/text/Text;
    • hasCustomName

      public boolean hasCustomName()
      Specified by:
      hasCustomName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official O_ Ladr;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 l Ladl;l()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_15541

      @Nullable public Text method_15541()
      Specified by:
      method_15541 in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official e Ladr;e()Lij;
      intermediary method_15541 Lnet/minecraft/class_2611;method_15541()Lnet/minecraft/class_1982;
      named method_15541 Lnet/minecraft/text/Nameable;method_15541()Lnet/minecraft/text/Text;