public class TileEntityEnchantmentTable extends TileEntity implements ITickable, IInteractionObject
Modifier and Type | Field and Description |
---|---|
float |
bookRotation |
float |
bookRotationPrev |
float |
bookSpread |
float |
bookSpreadPrev |
private java.lang.String |
customName |
float |
flipA |
float |
flipT |
float |
pageFlip |
float |
pageFlipPrev |
private static java.util.Random |
rand |
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() |
java.lang.String |
getGuiID() |
java.lang.String |
getName() |
boolean |
hasCustomName() |
void |
readFromNBT(NBTTagCompound compound) |
void |
setCustomName(java.lang.String customNameIn) |
void |
update() |
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, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public 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
private static final java.util.Random rand
private java.lang.String customName
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public java.lang.String getName()
getName
in interface IWorldNameable
public boolean hasCustomName()
hasCustomName
in interface IWorldNameable
public void setCustomName(java.lang.String customNameIn)
public ITextComponent getDisplayName()
getDisplayName
in interface IWorldNameable
getDisplayName
in class TileEntity
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer
in interface IInteractionObject
public java.lang.String getGuiID()
getGuiID
in interface IInteractionObject