net.minecraft.block.entity

public class MovingBlockEntity

extends BlockEntity implements Tickable

All mapped superinterfaces:

Tickable

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

Field summary

Modifier and TypeField
private BlockState
a
field_9872
movedState
pistonState
private Direction
f
field_9873
facing
pistonFacing
private boolean
g
field_577
extending
extending
private boolean
h
field_578
source
shouldHeadBeRendered
private static final ThreadLocal<Direction>
i
field_15180
NOCLIP_DIR
MOVING_ENTITY
private float
j
field_579
progress
progress
private float
k
field_580
lastProgress
lastProgress

Constructor summary

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

Method summary

Modifier and TypeMethod
public BlockState
a()
method_9007()
getMovedState()
getPistonState()
public NbtCompound
d()
method_11646()
toNbt()
getUpdateTag()
public int
v()
method_550()
getBlockMetadata()
getBlockMetadata()
public boolean
e()
method_572()
isExtending()
isExtending()
public Direction
f()
method_9011()
getFacing()
getFacing()
public boolean
h()
method_577()
isSource()
shouldPistonHeadBeRendered()
private float
e(float arg0)
method_11703(float arg0)
getAmountExtended(float tickDelta)
getExtendedProgress(float arg0)
public Box
a(ajw arg0, co arg1)
method_11701(class_1158 arg0, class_2552 arg1)
getShape(WorldView world, BlockPos pos)
getAABB(IBlockAccess arg0, BlockPos arg1)
public Box
a(ajw arg0, co arg1, float arg2)
method_11702(class_1158 arg0, class_2552 arg1, float arg2)
getShape(WorldView world, BlockPos pos, float progress)
getAABB(IBlockAccess arg0, BlockPos arg1, float arg2)
private BlockState
j()
method_13759()
getStateForShape()
getCollisionRelatedBlockState()
private void
f(float arg0)
method_13758(float arg0)
moveEntities(float progress)
moveCollidedEntities(float arg0)
private Box
a(List<bdt> arg0)
method_13753(List<class_231> arg0)
getBounds(List<Box> shapes)
func_191515_a(List<AxisAlignedBB> arg0)
private double
a(bdt arg0, cv arg1, bdt arg2)
method_13752(class_231 arg0, class_1354 arg1, class_231 arg2)
getEntityMovement(Box movementArea, Direction dir, Box shape)
getMovement(AxisAlignedBB arg0, EnumFacing arg1, AxisAlignedBB arg2)
private Box
a(bdt arg0)
method_13750(class_231 arg0)
moveBox(Box box)
moveByPositionAndProgress(AxisAlignedBB arg0)
private Box
a(bdt arg0, cv arg1, double arg2)
method_13751(class_231 arg0, class_1354 arg1, double arg2)
getMovementArea(Box collisions, Direction dir, double progressDelta)
getMovementArea(AxisAlignedBB arg0, EnumFacing arg1, double arg2)
private void
a(sn arg0, cv arg1, double arg2)
method_13754(class_864 arg0, class_1354 arg1, double arg2)
moveEntity(Entity entity, Direction dir, double amount)
fixEntityWithinPistonBase(Entity arg0, EnumFacing arg1, double arg2)
private static double
b(bdt arg0, cv arg1, bdt arg2)
method_13755(class_231 arg0, class_1354 arg1, class_231 arg2)
getEntityMovementX(Box movementArea, Direction dir, Box shape)
getDeltaX(AxisAlignedBB arg0, EnumFacing arg1, AxisAlignedBB arg2)
private static double
c(bdt arg0, cv arg1, bdt arg2)
method_13756(class_231 arg0, class_1354 arg1, class_231 arg2)
getEntityMovementY(Box movementArea, Direction dir, Box shape)
getDeltaY(AxisAlignedBB arg0, EnumFacing arg1, AxisAlignedBB arg2)
private static double
d(bdt arg0, cv arg1, bdt arg2)
method_13757(class_231 arg0, class_1354 arg1, class_231 arg2)
getEntityMovementZ(Box movementArea, Direction dir, Box shape)
getDeltaZ(AxisAlignedBB arg0, EnumFacing arg1, AxisAlignedBB arg2)
public void
i()
method_578()
finish()
clearPistonTileEntity()
public void
F_()
method_2053()
tick()
update()
public static void
a(ph arg0)
method_13360(class_2934 arg0)
registerSchema(DataFixerUpper dfu)
registerFixesPiston(DataFixer fixer)
public void
a(du arg0)
method_537(class_322 arg0)
readNbt(NbtCompound arg0)
readFromNBT(NBTTagCompound arg0)
public NbtCompound
b(du arg0)
method_541(class_322 arg0)
writeNbt(NbtCompound arg0)
writeToNBT(NBTTagCompound arg0)
public void
a(ajs arg0, co arg1, bdt arg2, List<bdt> arg3, sn arg4)
method_13749(class_1150 arg0, class_2552 arg1, class_231 arg2, List<class_231> arg3, class_864 arg4)
addCollisions(World world, BlockPos pos, Box shape, List<Box> collisions, Entity entity)
addCollissionAABBs(World arg0, BlockPos arg1, AxisAlignedBB arg2, List<AxisAlignedBB> arg3, Entity arg4)
public float
a(float arg0)
method_570(float arg0)
getProgress(float tickDelta)
getProgress(float ticks)
public float
b(float arg0)
method_9008(float arg0)
getRenderOffsetX(float tickDelta)
getOffsetX(float ticks)
public float
c(float arg0)
method_9009(float arg0)
getRenderOffsetY(float tickDelta)
getOffsetY(float ticks)
public float
d(float arg0)
method_9010(float arg0)
getRenderOffsetZ(float tickDelta)
getOffsetZ(float ticks)