public class LocalBlockIntercommunication extends java.lang.Object implements IInteractionObject
Modifier and Type | Field and Description |
---|---|
private IChatComponent |
displayName |
private java.lang.String |
guiID |
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()
Gets the name of this command sender (usually username, but possibly "Rcon")
|
boolean |
hasCustomName()
Returns true if this thing is named
|
private java.lang.String guiID
private IChatComponent displayName
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