public static class BlockAnvil.Anvil extends java.lang.Object implements IInteractionObject
| Modifier and Type | Method and Description |
|---|---|
Container |
createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
ITextComponent |
getDisplayName()
Get the formatted ChatComponent that will be used for the sender's username in chat
|
java.lang.String |
getGuiID() |
java.lang.String |
getName()
Get the name of this object.
|
boolean |
hasCustomName()
Returns true if this thing is named
|
public java.lang.String getName()
getName in interface IWorldNameablepublic boolean hasCustomName()
hasCustomName in interface IWorldNameablepublic ITextComponent getDisplayName()
getDisplayName in interface IWorldNameablepublic Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer in interface IInteractionObjectpublic java.lang.String getGuiID()
getGuiID in interface IInteractionObject