net.minecraft.block.entity

public class MovingBlockEntity

extends BlockEntity implements Tickable

All mapped superinterfaces:

Tickable

bkx
net.minecraft.class_230
net.minecraft.block.entity.MovingBlockEntity
net.minecraft.tileentity.TileEntityPiston
net.minecraft.tileentity.TileEntityPiston

Field summary

Modifier and TypeField
private BlockState
a
field_9872
movedState
field_200231_a
pistonState
private Direction
e
field_9873
facing
field_174931_f
pistonFacing
private boolean
f
field_577
extending
field_145875_k
extending
private boolean
g
field_578
source
field_145872_l
shouldHeadBeRendered
private static final ThreadLocal<Direction>
h
field_15180
NOCLIP_DIR
field_190613_i
MOVING_ENTITY
private float
i
field_579
progress
field_145873_m
progress
private float
j
field_580
lastProgress
field_145870_n
lastProgress
private long
k
field_18681
lastTickTime
field_211147_k
lastTicked

Constructor summary

ModifierConstructor
public ()
public (BlockState movedState, Direction facing, boolean extending, boolean source)

Method summary

Modifier and TypeMethod
public NbtCompound
aa_()
method_11646()
toNbt()
func_189517_E_()
getUpdateTag()
public boolean
c()
method_572()
isExtending()
func_145868_b()
isExtending()
public Direction
d()
method_9011()
getFacing()
func_212363_d()
getFacing()
public boolean
f()
method_577()
isSource()
func_145867_d()
shouldPistonHeadBeRendered()
public float
a(float arg0)
method_570(float arg0)
getProgress(float tickDelta)
func_145860_a(float arg0)
getProgress(float ticks)
private float
e(float arg0)
method_11703(float arg0)
getAmountExtended(float tickDelta)
func_184320_e(float arg0)
getExtendedProgress(float arg0)
private BlockState
l()
method_13759()
getStateForShape()
func_190606_j()
getCollisionRelatedBlockState()
private void
f(float arg0)
method_13758(float arg0)
moveEntities(float progress)
func_184322_i(float arg0)
moveCollidedEntities(float arg0)
public Direction
h()
method_16854()
getMoveDirection()
func_195509_h()
getMotionDirection()
private Box
a(List<cea> arg0)
method_13753(List<class_231> arg0)
getBounds(List<Box> shapes)
func_191515_a(List<AxisAlignedBB> arg0)
getMinMaxPiecesAABB(List<AxisAlignedBB> arg0)
private double
a(cea arg0, eq arg1, cea arg2)
method_13752(class_231 arg0, class_1354 arg1, class_231 arg2)
getEntityMovement(Box movementArea, Direction dir, Box shape)
func_190612_a(AxisAlignedBB arg0, EnumFacing arg1, AxisAlignedBB arg2)
getMovement(AxisAlignedBB arg0, EnumFacing facing, AxisAlignedBB arg2)
private Box
a(cea arg0)
method_13750(class_231 arg0)
moveBox(Box box)
func_190607_a(AxisAlignedBB arg0)
moveByPositionAndProgress(AxisAlignedBB arg0)
private Box
a(cea arg0, eq arg1, double arg2)
method_13751(class_231 arg0, class_1354 arg1, double arg2)
getMovementArea(Box collisions, Direction dir, double progressDelta)
func_190610_a(AxisAlignedBB arg0, EnumFacing arg1, double arg2)
getMovementArea(AxisAlignedBB arg0, EnumFacing arg1, double arg2)
private void
a(aer arg0, eq arg1, double arg2)
method_13754(class_864 arg0, class_1354 arg1, double arg2)
moveEntity(Entity entity, Direction dir, double amount)
func_190605_a(Entity arg0, EnumFacing arg1, double arg2)
fixEntityWithinPistonBase(Entity arg0, EnumFacing arg1, double arg2)
private static double
b(cea arg0, eq arg1, cea arg2)
method_13755(class_231 arg0, class_1354 arg1, class_231 arg2)
getEntityMovementX(Box movementArea, Direction dir, Box shape)
func_190611_b(AxisAlignedBB arg0, EnumFacing arg1, AxisAlignedBB arg2)
getDeltaX(AxisAlignedBB arg0, EnumFacing facing, AxisAlignedBB arg2)
private static double
c(cea arg0, eq arg1, cea arg2)
method_13756(class_231 arg0, class_1354 arg1, class_231 arg2)
getEntityMovementY(Box movementArea, Direction dir, Box shape)
func_190608_c(AxisAlignedBB arg0, EnumFacing arg1, AxisAlignedBB arg2)
getDeltaY(AxisAlignedBB arg0, EnumFacing facing, AxisAlignedBB arg2)
private static double
d(cea arg0, eq arg1, cea arg2)
method_13757(class_231 arg0, class_1354 arg1, class_231 arg2)
getEntityMovementZ(Box movementArea, Direction dir, Box shape)
func_190604_d(AxisAlignedBB arg0, EnumFacing arg1, AxisAlignedBB arg2)
getDeltaZ(AxisAlignedBB arg0, EnumFacing facing, AxisAlignedBB arg2)
public BlockState
i()
method_9007()
getMovedState()
func_200230_i()
getPistonState()
public void
j()
method_578()
finish()
func_145866_f()
clearPistonTileEntity()
public void
Y_()
method_2053()
tick()
func_73660_a()
tick()
public void
b(gy arg0)
method_537(class_322 arg0)
readNbt(NbtCompound arg0)
func_145839_a(NBTTagCompound arg0)
read(NBTTagCompound arg0)
public NbtCompound
a(gy arg0)
method_541(class_322 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(NBTTagCompound arg0)
write(NBTTagCompound arg0)
public VoxelShape
a(axk arg0, el arg1)
method_16853(class_1158 arg0, class_2552 arg1)
getCollisionShape(BlockView world, BlockPos pos)
func_195508_a(IBlockReader arg0, BlockPos arg1)
getCollisionShape(IBlockReader arg0, BlockPos arg1)
public long
k()
method_16855()
getLastTickTime()
func_211146_k()
getLastTicked()
public float
b(float arg0)
method_9008(float arg0)
getRenderOffsetX(float tickDelta)
func_174929_b(float arg0)
getOffsetX(float ticks)
public float
c(float arg0)
method_9009(float arg0)
getRenderOffsetY(float tickDelta)
func_174928_c(float arg0)
getOffsetY(float ticks)
public float
d(float arg0)
method_9010(float arg0)
getRenderOffsetZ(float tickDelta)
func_174926_d(float arg0)
getOffsetZ(float ticks)