Package net.minecraft.src
Class TileEntityEnchantmentTable
java.lang.Object
net.minecraft.src.TileEntity
net.minecraft.src.TileEntityEnchantmentTable
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatfloatThe amount that the book is open.floatThe amount that the book is open.floatfloatfloatValue used for determining how the page flip should look.floatThe last tick's pageFlip value.booleanintUsed by the render to make the book 'bounce'Fields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfunc_94134_a(String par1Str) booleanvoidreadFromNBT(NBTTagCompound par1NBTTagCompound) Reads a tile entity from NBT.voidAllows the entity to update its state.voidwriteToNBT(NBTTagCompound par1NBTTagCompound) Writes a tile entity to NBT.Methods inherited from class net.minecraft.src.TileEntity
addMapping, createAndLoadEntity, func_85027_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, onInventoryChanged, receiveClientEvent, setWorldObj, updateContainingBlockInfo, validate
-
Field Details
-
tickCount
public int tickCountUsed by the render to make the book 'bounce' -
pageFlip
public float pageFlipValue used for determining how the page flip should look. -
pageFlipPrev
public float pageFlipPrevThe last tick's pageFlip value. -
field_70373_d
public float field_70373_d -
field_70374_e
public float field_70374_e -
bookSpread
public float bookSpreadThe amount that the book is open. -
bookSpreadPrev
public float bookSpreadPrevThe amount that the book is open. -
bookRotation2
public float bookRotation2 -
bookRotationPrev
public float bookRotationPrev -
bookRotation
public float bookRotation -
playerNear
public boolean playerNear
-
-
Constructor Details
-
TileEntityEnchantmentTable
public TileEntityEnchantmentTable()
-
-
Method Details
-
writeToNBT
Writes a tile entity to NBT.- Overrides:
writeToNBTin classTileEntity
-
readFromNBT
Reads a tile entity from NBT.- Overrides:
readFromNBTin classTileEntity
-
updateEntity
public void updateEntity()Allows the entity to update its state. Overridden in most subclasses, e.g. the mob spawner uses this to count ticks and creates a new spawn inside its implementation.- Overrides:
updateEntityin classTileEntity
-
func_94133_a
-
func_94135_b
public boolean func_94135_b() -
func_94134_a
-