public static class BlockWorkbench.InterfaceCraftingTable extends java.lang.Object implements IInteractionObject
Modifier and Type | Field and Description |
---|---|
private BlockPos |
position |
private World |
world |
Constructor and Description |
---|
InterfaceCraftingTable(World worldIn,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
Container |
createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
IChatComponent |
getDisplayName()
Get the formatted ChatComponent that will be used for the sender's username in chat
|
java.lang.String |
getGuiID() |
java.lang.String |
getName()
Gets the name of this command sender (usually username, but possibly "Rcon")
|
boolean |
hasCustomName()
Returns true if this thing is named
|
public java.lang.String getName()
IWorldNameable
getName
in interface IWorldNameable
public boolean hasCustomName()
IWorldNameable
hasCustomName
in interface IWorldNameable
public IChatComponent getDisplayName()
IWorldNameable
getDisplayName
in interface IWorldNameable
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer
in interface IInteractionObject
public java.lang.String getGuiID()
getGuiID
in interface IInteractionObject