public class TileEntityPiston extends TileEntity implements ITickable
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world
Constructor and Description |
---|
TileEntityPiston() |
TileEntityPiston(IBlockState pistonStateIn,
EnumFacing pistonFacingIn,
boolean extendingIn,
boolean shouldHeadBeRenderedIn) |
Modifier and Type | Method and Description |
---|---|
void |
addCollissionAABBs(World p_190609_1_,
BlockPos p_190609_2_,
AxisAlignedBB p_190609_3_,
java.util.List<AxisAlignedBB> p_190609_4_,
Entity p_190609_5_) |
void |
clearPistonTileEntity() |
AxisAlignedBB |
getAABB(IBlockAccess p_184321_1_,
BlockPos p_184321_2_) |
AxisAlignedBB |
getAABB(IBlockAccess p_184319_1_,
BlockPos p_184319_2_,
float p_184319_3_) |
int |
getBlockMetadata() |
EnumFacing |
getFacing() |
float |
getOffsetX(float ticks) |
float |
getOffsetY(float ticks) |
float |
getOffsetZ(float ticks) |
IBlockState |
getPistonState() |
float |
getProgress(float ticks) |
NBTTagCompound |
getUpdateTag() |
boolean |
isExtending() |
void |
readFromNBT(NBTTagCompound compound) |
static void |
registerFixesPiston(DataFixer fixer) |
boolean |
shouldPistonHeadBeRendered() |
void |
update() |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockType, getCapability, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdatePacket, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public TileEntityPiston()
public TileEntityPiston(IBlockState pistonStateIn, EnumFacing pistonFacingIn, boolean extendingIn, boolean shouldHeadBeRenderedIn)
public IBlockState getPistonState()
public NBTTagCompound getUpdateTag()
getUpdateTag
in class TileEntity
public int getBlockMetadata()
getBlockMetadata
in class TileEntity
public boolean isExtending()
public EnumFacing getFacing()
public boolean shouldPistonHeadBeRendered()
public float getProgress(float ticks)
public float getOffsetX(float ticks)
public float getOffsetY(float ticks)
public float getOffsetZ(float ticks)
public AxisAlignedBB getAABB(IBlockAccess p_184321_1_, BlockPos p_184321_2_)
public AxisAlignedBB getAABB(IBlockAccess p_184319_1_, BlockPos p_184319_2_, float p_184319_3_)
public void clearPistonTileEntity()
public static void registerFixesPiston(DataFixer fixer)
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void addCollissionAABBs(World p_190609_1_, BlockPos p_190609_2_, AxisAlignedBB p_190609_3_, java.util.List<AxisAlignedBB> p_190609_4_, @Nullable Entity p_190609_5_)