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

    • id

      private String id
      Mappings:
      Namespace Name Mixin selector
      official a Lbey;a:Ljava/lang/String;
      intermediary field_4184 Lnet/minecraft/class_998;field_4184: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 Lbey;b:Leu;
      intermediary field_4185 Lnet/minecraft/class_998;field_4185:Lnet/minecraft/class_1444;
      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> Lbey;<init>(Ljava/lang/String;Leu;)V
      intermediary <init> Lnet/minecraft/class_998;<init>(Ljava/lang/String;Lnet/minecraft/class_1444;)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 Lol;a(Lwm;Lwn;)Lxi;
      intermediary method_6761 Lnet/minecraft/class_1723;method_6761(Lnet/minecraft/class_1962;Lnet/minecraft/class_1963;)Lnet/minecraft/class_1983;
      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 e_ Lop;e_()Ljava/lang/String;
      intermediary method_6261 Lnet/minecraft/class_1726;method_6261()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 l_ Lop;l_()Z
      intermediary method_6770 Lnet/minecraft/class_1726;method_6770()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 Lol;k()Ljava/lang/String;
      intermediary method_6762 Lnet/minecraft/class_1723;method_6762()Ljava/lang/String;
      named getId Lnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;
    • getName

      public Text getName()
      Specified by:
      getName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official f_ Lop;f_()Leu;
      intermediary method_133 Lnet/minecraft/class_1726;method_133()Lnet/minecraft/class_1444;
      named getName Lnet/minecraft/text/Nameable;getName()Lnet/minecraft/text/Text;