public class TileEntityEnchantmentTable extends TileEntity implements ITickable, IInteractionObject
| Modifier and Type | Field and Description |
|---|---|
float |
bookRotation |
float |
bookRotationPrev |
float |
bookSpread |
float |
bookSpreadPrev |
float |
field_145924_q |
float |
field_145929_l |
float |
field_145932_k |
float |
pageFlip |
float |
pageFlipPrev |
int |
tickCount |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj| Constructor and Description |
|---|
TileEntityEnchantmentTable() |
| 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
|
void |
readFromNBT(NBTTagCompound compound) |
void |
setCustomName(java.lang.String customNameIn) |
void |
update()
Like the old updateEntity(), except more generic.
|
void |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, deserializeNBT, func_183000_F, getBlockMetadata, getBlockType, getCapability, getDescriptionPacket, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasCapability, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validatepublic int tickCount
public float pageFlip
public float pageFlipPrev
public float field_145932_k
public float field_145929_l
public float bookSpread
public float bookSpreadPrev
public float bookRotation
public float bookRotationPrev
public float field_145924_q
public void writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntitypublic void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntitypublic void update()
public java.lang.String getName()
getName in interface IWorldNameablepublic boolean hasCustomName()
hasCustomName in interface IWorldNameablepublic void setCustomName(java.lang.String customNameIn)
public IChatComponent getDisplayName()
getDisplayName in interface IWorldNameablepublic Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer in interface IInteractionObjectpublic java.lang.String getGuiID()
getGuiID in interface IInteractionObject