public class LocalBlockIntercommunication extends java.lang.Object implements IInteractionObject
Modifier and Type | Field and Description |
---|---|
private ITextComponent |
displayName |
private java.lang.String |
guiID |
Constructor and Description |
---|
LocalBlockIntercommunication(java.lang.String guiIdIn,
ITextComponent displayNameIn) |
Modifier and Type | Method and Description |
---|---|
Container |
createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
ITextComponent |
getDisplayName() |
java.lang.String |
getGuiID() |
java.lang.String |
getName() |
boolean |
hasCustomName() |
private final java.lang.String guiID
private final ITextComponent displayName
public LocalBlockIntercommunication(java.lang.String guiIdIn, ITextComponent 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 ITextComponent getDisplayName()
getDisplayName
in interface IWorldNameable