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 |
field_145924_q |
float |
field_145929_l |
float |
field_145932_k |
float |
pageFlip |
float |
pageFlipPrev |
private static java.util.Random |
rand |
int |
tickCount |
blockType, 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()
Gets the name of this command sender (usually username, but possibly "Rcon")
|
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, createAndLoadEntity, func_183000_F, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceSq, getMaxRenderDistanceSquared, getPos, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, receiveClientEvent, setPos, setWorldObj, updateContainingBlockInfo, validate
public 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
private static java.util.Random rand
private java.lang.String customName
public void writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public void update()
public java.lang.String getName()
getName
in interface IWorldNameable
public boolean hasCustomName()
hasCustomName
in interface IWorldNameable
public void setCustomName(java.lang.String customNameIn)
public IChatComponent getDisplayName()
getDisplayName
in interface IWorldNameable
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer
in interface IInteractionObject
public java.lang.String getGuiID()
getGuiID
in interface IInteractionObject