public abstract class TileEntityLockable extends TileEntity implements IInteractionObject, ILockableContainer
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj| Constructor and Description |
|---|
TileEntityLockable() |
| Modifier and Type | Method and Description |
|---|---|
IChatComponent |
getDisplayName() |
LockCode |
getLockCode() |
boolean |
isLocked() |
void |
readFromNBT(NBTTagCompound compound) |
void |
setLockCode(LockCode code) |
void |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, closeInventory, decrStackSize, getField, getFieldCount, getInventoryStackLimit, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, setField, setInventorySlotContentscreateContainer, getGuiIDgetName, hasCustomNamepublic void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntitypublic void writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntitypublic boolean isLocked()
isLocked in interface ILockableContainerpublic LockCode getLockCode()
getLockCode in interface ILockableContainerpublic void setLockCode(LockCode code)
setLockCode in interface ILockableContainerpublic IChatComponent getDisplayName()
getDisplayName in interface IWorldNameable