public class TileEntityPiston extends TileEntity implements ITickable
pos, removed, worldINFINITE_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, validateareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT, shouldRenderInPassgetCapability, getCapabilitypublic TileEntityPiston()
public TileEntityPiston(IBlockState pistonStateIn, EnumFacing pistonFacingIn, boolean extendingIn, boolean shouldHeadBeRenderedIn)
public NBTTagCompound getUpdateTag()
getUpdateTag in class TileEntitypublic 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 TileEntitypublic NBTTagCompound write(NBTTagCompound compound)
write in class TileEntitypublic VoxelShape getCollisionShape(IBlockReader p_195508_1_, BlockPos p_195508_2_)
public long getLastTicked()