Package net.minecraft.block
Class BlockAnvil.Anvil
- java.lang.Object
-
- net.minecraft.block.BlockAnvil.Anvil
-
- All Implemented Interfaces:
IInteractionObject,IWorldNameable
- Enclosing class:
- BlockAnvil
public static class BlockAnvil.Anvil extends java.lang.Object implements IInteractionObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainercreateContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)IChatComponentgetDisplayName()+ Get the formatted ChatComponent that will be used for the sender's username in chatjava.lang.StringgetGuiID()java.lang.StringgetName()+ Gets the name of this command sender (usually username, but possibly "Rcon")booleanhasCustomName()+ Returns true if this thing is named
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:IWorldNameable+ Gets the name of this command sender (usually username, but possibly "Rcon")- Specified by:
getNamein interfaceIWorldNameable
-
hasCustomName
public boolean hasCustomName()
Description copied from interface:IWorldNameable+ Returns true if this thing is named- Specified by:
hasCustomNamein interfaceIWorldNameable
-
getDisplayName
public IChatComponent getDisplayName()
Description copied from interface:IWorldNameable+ Get the formatted ChatComponent that will be used for the sender's username in chat- Specified by:
getDisplayNamein interfaceIWorldNameable
-
createContainer
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
- Specified by:
createContainerin interfaceIInteractionObject
-
getGuiID
public java.lang.String getGuiID()
- Specified by:
getGuiIDin interfaceIInteractionObject
-
-