Package net.minecraft.client.world
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 beyintermediary net/minecraft/class_998named net/minecraft/client/world/BlockCommunicationNameable
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BlockCommunicationNameable(String id, Text text) -
Method Summary
Modifier and Type Method Description ScreenHandlercreateScreenHandler(PlayerInventory inventory, PlayerEntity player)StringgetId()TextgetName()StringgetTranslationKey()booleanhasCustomName()
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official aLbey;a:Ljava/lang/String;intermediary field_4184Lnet/minecraft/class_998;field_4184:Ljava/lang/String;named idLnet/minecraft/client/world/BlockCommunicationNameable;id:Ljava/lang/String;
-
text
- Mappings:
Namespace Name Mixin selector official bLbey;b:Leu;intermediary field_4185Lnet/minecraft/class_998;field_4185:Lnet/minecraft/class_1444;named textLnet/minecraft/client/world/BlockCommunicationNameable;text:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
BlockCommunicationNameable
- Mappings:
Namespace Name Mixin selector official <init>Lbey;<init>(Ljava/lang/String;Leu;)Vintermediary <init>Lnet/minecraft/class_998;<init>(Ljava/lang/String;Lnet/minecraft/class_1444;)Vnamed <init>Lnet/minecraft/client/world/BlockCommunicationNameable;<init>(Ljava/lang/String;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
createScreenHandler
- Specified by:
createScreenHandlerin interfaceNamedScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official aLol;a(Lwm;Lwn;)Lxi;intermediary method_6761Lnet/minecraft/class_1723;method_6761(Lnet/minecraft/class_1962;Lnet/minecraft/class_1963;)Lnet/minecraft/class_1983;named createScreenHandlerLnet/minecraft/screen/NamedScreenHandlerFactory;createScreenHandler(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceNameable- Mappings:
Namespace Name Mixin selector official e_Lop;e_()Ljava/lang/String;intermediary method_6261Lnet/minecraft/class_1726;method_6261()Ljava/lang/String;named getTranslationKeyLnet/minecraft/text/Nameable;getTranslationKey()Ljava/lang/String;
-
hasCustomName
public boolean hasCustomName()- Specified by:
hasCustomNamein interfaceNameable- Mappings:
Namespace Name Mixin selector official l_Lop;l_()Zintermediary method_6770Lnet/minecraft/class_1726;method_6770()Znamed hasCustomNameLnet/minecraft/text/Nameable;hasCustomName()Z
-
getId
- Specified by:
getIdin interfaceNamedScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official kLol;k()Ljava/lang/String;intermediary method_6762Lnet/minecraft/class_1723;method_6762()Ljava/lang/String;named getIdLnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;
-
getName
-