Package btw.block.tileentity
Class BasketTileEntity
java.lang.Object
net.minecraft.src.TileEntity
btw.block.tileentity.BasketTileEntity
- Direct Known Subclasses:
BarkBoxTileEntity,HamperTileEntity,WickerBasketTileEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanprotected static final floatprotected static final floatfloatprotected static final floatfloatFields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidprotected voidbooleanreceiveClientEvent(int iEventType, int iEventParam) Called when a client event is received with the event number and argument, see World.sendClientEventabstract booleanvoidvoidAllows the entity to update its state.Methods inherited from class net.minecraft.src.TileEntity
addMapping, createAndLoadEntity, func_85027_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, onInventoryChanged, readFromNBT, setWorldObj, updateContainingBlockInfo, validate, writeToNBT
-
Field Details
-
LID_OPEN_RATE
protected static final float LID_OPEN_RATE- See Also:
-
LID_CLOSE_RATE
protected static final float LID_CLOSE_RATE- See Also:
-
MAX_KEEP_OPEN_RANGE
protected static final float MAX_KEEP_OPEN_RANGE- See Also:
-
lidOpenRatio
public float lidOpenRatio -
prevLidOpenRatio
public float prevLidOpenRatio -
closing
public boolean closing
-
-
Constructor Details
-
BasketTileEntity
-
-
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 classTileEntity
-
receiveClientEvent
public boolean receiveClientEvent(int iEventType, int iEventParam) Description copied from class:TileEntityCalled when a client event is received with the event number and argument, see World.sendClientEvent- Overrides:
receiveClientEventin classTileEntity
-
ejectContents
public abstract void ejectContents() -
startClosingServerSide
public void startClosingServerSide() -
shouldStartClosingServerSide
public abstract boolean shouldStartClosingServerSide() -
onFinishedClosing
protected void onFinishedClosing()
-