Package btw.block.tileentity
Class TurntableTileEntity
java.lang.Object
net.minecraft.src.TileEntity
btw.block.tileentity.TurntableTileEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadFromNBT(NBTTagCompound nbttagcompound) Reads a tile entity from NBT.voidAllows the entity to update its state.voidwriteToNBT(NBTTagCompound nbttagcompound) 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
-
craftingRotationCount
public int craftingRotationCount
-
-
Constructor Details
-
TurntableTileEntity
public TurntableTileEntity()
-
-
Method Details
-
readFromNBT
Description copied from class:TileEntityReads a tile entity from NBT.- Overrides:
readFromNBTin classTileEntity
-
writeToNBT
Description copied from class:TileEntityWrites a tile entity to NBT.- Overrides:
writeToNBTin classTileEntity
-
updateEntity
public void updateEntity()Description copied from class:TileEntityAllows 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
-