Package net.minecraft.text
Interface Nameable
- All Known Subinterfaces:
HopperProvider,Inventory,LockableScreenHandlerFactory,NamedScreenHandlerFactory,SidedInventory
- All Known Implementing Classes:
AbstractMinecartEntity,AnimalInventory,AnvilBlock.AnvilNameableHandler,BeaconBlockEntity,BlockCommunicationNameable,BrewingStandBlockEntity,ChestBlockEntity,ChestMinecartEntity,ClientNetworkSyncedInventory,CommandBlockMinecartEntity,CraftingInventory,CraftingResultInventory,CraftingTableBlock.ClientDummyScreenHandlerProvider,DispenserBlockEntity,DoubleInventory,DropperBlockEntity,EnchantingTableBlockEntity,EnderChestInventory,FurnaceBlockEntity,FurnaceMinecartEntity,HopperBlockEntity,HopperMinecartEntity,InventoryMinecartEntity,LockableContainerBlockEntity,MinecartEntity,PlayerInventory,SimpleInventory,SpawnerMinecartEntity,TntMinecartEntity,TraderInventory
public interface Nameable
- Mappings:
Namespace Name official opintermediary net/minecraft/class_1726named net/minecraft/text/Nameable
-
Method Summary
Modifier and Type Method Description TextgetName()StringgetTranslationKey()booleanhasCustomName()
-
Method Details
-
getTranslationKey
String getTranslationKey()- 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
boolean hasCustomName()- Mappings:
Namespace Name Mixin selector official l_Lop;l_()Zintermediary method_6770Lnet/minecraft/class_1726;method_6770()Znamed hasCustomNameLnet/minecraft/text/Nameable;hasCustomName()Z
-
getName
Text getName()- Mappings:
Namespace Name Mixin selector official f_Lop;f_()Leu;intermediary method_133Lnet/minecraft/class_1726;method_133()Lnet/minecraft/class_1444;named getNameLnet/minecraft/text/Nameable;getName()Lnet/minecraft/text/Text;
-