public class TileEntityPiston extends TileEntity implements ITickable
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
TileEntityPiston() |
TileEntityPiston(IBlockState pistonStateIn,
EnumFacing pistonFacingIn,
boolean extendingIn,
boolean shouldHeadBeRenderedIn) |
Modifier and Type | Method and Description |
---|---|
void |
clearPistonTileEntity() |
EnumFacing |
func_212363_d() |
VoxelShape |
getCollisionShape(IBlockReader p_195508_1_,
BlockPos p_195508_2_) |
long |
getLastTicked() |
EnumFacing |
getMotionDirection() |
float |
getOffsetX(float ticks) |
float |
getOffsetY(float ticks) |
float |
getOffsetZ(float ticks) |
IBlockState |
getPistonState() |
float |
getProgress(float ticks) |
NBTTagCompound |
getUpdateTag() |
boolean |
isExtending() |
void |
read(NBTTagCompound compound) |
boolean |
shouldPistonHeadBeRendered() |
void |
tick() |
NBTTagCompound |
write(NBTTagCompound compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, remove, rotate, setPos, setWorld, updateContainingBlockInfo, validate
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT, shouldRenderInPass
getCapability, getCapability
public TileEntityPiston()
public TileEntityPiston(IBlockState pistonStateIn, EnumFacing pistonFacingIn, boolean extendingIn, boolean shouldHeadBeRenderedIn)
public NBTTagCompound getUpdateTag()
getUpdateTag
in class TileEntity
public boolean isExtending()
public EnumFacing func_212363_d()
public boolean shouldPistonHeadBeRendered()
public float getProgress(float ticks)
public float getOffsetX(float ticks)
public float getOffsetY(float ticks)
public float getOffsetZ(float ticks)
public EnumFacing getMotionDirection()
public IBlockState getPistonState()
public void clearPistonTileEntity()
public void read(NBTTagCompound compound)
read
in class TileEntity
public NBTTagCompound write(NBTTagCompound compound)
write
in class TileEntity
public VoxelShape getCollisionShape(IBlockReader p_195508_1_, BlockPos p_195508_2_)
public long getLastTicked()