Package btw.block.tileentity
Class BarkBoxTileEntity
java.lang.Object
net.minecraft.src.TileEntity
btw.block.tileentity.BasketTileEntity
btw.block.tileentity.BarkBoxTileEntity
- All Implemented Interfaces:
TileEntityDataPacketHandler
-
Field Summary
Fields inherited from class btw.block.tileentity.BasketTileEntity
closing, LID_CLOSE_RATE, LID_OPEN_RATE, lidOpenRatio, MAX_KEEP_OPEN_RANGE, prevLidOpenRatioFields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intcalculateComparatorPower(BarkBoxTileEntity tileEntity) voidOverriden in a sign to provide the text.protected voidvoidReads a tile entity from NBT.voidvoidsetStorageStack(ItemStack stack) booleanvoidAllows the entity to update its state.voidwriteToNBT(NBTTagCompound tag) Writes a tile entity to NBT.Methods inherited from class btw.block.tileentity.BasketTileEntity
receiveClientEvent, startClosingServerSideMethods inherited from class net.minecraft.src.TileEntity
addMapping, createAndLoadEntity, func_85027_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, onInventoryChanged, setWorldObj, updateContainingBlockInfo, validate
-
Constructor Details
-
BarkBoxTileEntity
public BarkBoxTileEntity()
-
-
Method Details
-
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 classBasketTileEntity
-
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
-
ejectContents
public void ejectContents()- Specified by:
ejectContentsin classBasketTileEntity
-
getDescriptionPacket
Description copied from class:TileEntityOverriden in a sign to provide the text.- Overrides:
getDescriptionPacketin classTileEntity
-
readNBTFromPacket
- Specified by:
readNBTFromPacketin interfaceTileEntityDataPacketHandler
-
shouldStartClosingServerSide
public boolean shouldStartClosingServerSide()- Specified by:
shouldStartClosingServerSidein classBasketTileEntity
-
setStorageStack
-
getStorageStack
-
calculateComparatorPower
-
onFinishedClosing
protected void onFinishedClosing()- Overrides:
onFinishedClosingin classBasketTileEntity
-