public class LocalBlockIntercommunication extends java.lang.Object implements IInteractionObject
Constructor and Description |
---|
LocalBlockIntercommunication(java.lang.String guiIdIn,
IChatComponent displayNameIn) |
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()
Get the name of this object.
|
boolean |
hasCustomName()
Returns true if this thing is named
|
public LocalBlockIntercommunication(java.lang.String guiIdIn, IChatComponent displayNameIn)
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer
in interface IInteractionObject
public java.lang.String getName()
getName
in interface IWorldNameable
public boolean hasCustomName()
hasCustomName
in interface IWorldNameable
public java.lang.String getGuiID()
getGuiID
in interface IInteractionObject
public IChatComponent getDisplayName()
getDisplayName
in interface IWorldNameable