public class TileEntityEnchantmentTable extends TileEntity implements ITickable, IInteractionObject
| Modifier and Type | Field and Description |
|---|---|
float |
bookRotation |
float |
bookRotationPrev |
float |
bookSpread |
float |
bookSpreadPrev |
float |
flipA |
float |
flipT |
float |
pageFlip |
float |
pageFlipPrev |
int |
tickCount |
float |
tRot |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world| Constructor and Description |
|---|
TileEntityEnchantmentTable() |
| Modifier and Type | Method and Description |
|---|---|
Container |
createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
ITextComponent |
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.
|
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdatePacket, getUpdateTag, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validatepublic int tickCount
public float pageFlip
public float pageFlipPrev
public float flipT
public float flipA
public float bookSpread
public float bookSpreadPrev
public float bookRotation
public float bookRotationPrev
public float tRot
public NBTTagCompound 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 ITextComponent getDisplayName()
getDisplayName in interface IWorldNameablegetDisplayName in class TileEntitypublic Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer in interface IInteractionObjectpublic java.lang.String getGuiID()
getGuiID in interface IInteractionObject