net.minecraft.world.level.block.piston

public class PistonMovingBlockEntity

extends BlockEntity

ecb
net.minecraft.world.level.block.piston.PistonMovingBlockEntity
net.minecraft.class_2669

Field summary

Modifier and TypeField
private static final int
b
TICKS_TO_EXTEND
field_31382
private static final double
c
PUSH_OFFSET
field_31383
public static final double
a
TICK_MOVEMENT
field_31381
private static final BlockState
d
DEFAULT_BLOCK_STATE
field_57804
private static final float
e
DEFAULT_PROGRESS
field_57805
private static final boolean
f
DEFAULT_EXTENDING
field_57806
private static final boolean
g
DEFAULT_SOURCE
field_57807
private BlockState
h
movedState
field_12204
private Direction
i
direction
field_12201
private boolean
j
extending
field_12203
private boolean
k
isSourcePiston
field_12202
private static final ThreadLocal<Direction>
l
NOCLIP
field_12205
private float
m
progress
field_12207
private float
q
progressO
field_12206
private long
r
lastTicked
field_12208
private int
s
deathTicks
field_26705

Constructor summary

ModifierConstructor
public (BlockPos arg0, BlockState arg1)
public (BlockPos arg0, BlockState arg1, BlockState arg2, Direction arg3, boolean arg4, boolean arg5)

Method summary

Modifier and TypeMethod
public CompoundTag
a(jk$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
public boolean
a()
isExtending()
method_11501()
public Direction
c()
getDirection()
method_11498()
public boolean
d()
isSourcePiston()
method_11515()
public float
a(float arg0)
getProgress(float arg0)
method_11499(float arg0)
public float
b(float arg0)
getXOff(float arg0)
method_11494(float arg0)
public float
c(float arg0)
getYOff(float arg0)
method_11511(float arg0)
public float
d(float arg0)
getZOff(float arg0)
method_11507(float arg0)
private float
e(float arg0)
getExtendedProgress(float arg0)
method_11504(float arg0)
private BlockState
w()
getCollisionRelatedBlockState()
method_11496()
private static void
a(dkz arg0, iy arg1, float arg2, ecb arg3)
moveCollidedEntities(Level arg0, BlockPos arg1, float arg2, PistonMovingBlockEntity arg3)
method_11503(class_1937 arg0, class_2338 arg1, float arg2, class_2669 arg3)
private static void
a(je arg0, bxs arg1, double arg2, je arg3)
moveEntityByPiston(Direction arg0, Entity arg1, double arg2, Direction arg3)
method_23672(class_2350 arg0, class_1297 arg1, double arg2, class_2350 arg3)
private static void
b(dkz arg0, iy arg1, float arg2, ecb arg3)
moveStuckEntities(Level arg0, BlockPos arg1, float arg2, PistonMovingBlockEntity arg3)
method_23674(class_1937 arg0, class_2338 arg1, float arg2, class_2669 arg3)
private static boolean
a(fgs arg0, bxs arg1, iy arg2)
matchesStickyCritera(AABB arg0, Entity arg1, BlockPos arg2)
method_23671(class_238 arg0, class_1297 arg1, class_2338 arg2)
private boolean
x()
isStickyForEntities()
method_23364()
public Direction
f()
getMovementDirection()
method_11506()
private static double
a(fgs arg0, je arg1, fgs arg2)
getMovement(AABB arg0, Direction arg1, AABB arg2)
method_11497(class_238 arg0, class_2350 arg1, class_238 arg2)
private static AABB
a(iy arg0, fgs arg1, ecb arg2)
moveByPositionAndProgress(BlockPos arg0, AABB arg1, PistonMovingBlockEntity arg2)
method_11500(class_2338 arg0, class_238 arg1, class_2669 arg2)
private static void
a(iy arg0, bxs arg1, je arg2, double arg3)
fixEntityWithinPistonBase(BlockPos arg0, Entity arg1, Direction arg2, double arg3)
method_11514(class_2338 arg0, class_1297 arg1, class_2350 arg2, double arg3)
public BlockState
j()
getMovedState()
method_11495()
public void
k()
finalTick()
method_11513()
public void
a(iy arg0, ecg arg1)
preRemoveSideEffects(BlockPos arg0, BlockState arg1)
method_66473(class_2338 arg0, class_2680 arg1)
public Direction
u()
getPushDirection()
method_61764()
public static void
a(dkz arg0, iy arg1, ecg arg2, ecb arg3)
tick(Level arg0, BlockPos arg1, BlockState arg2, PistonMovingBlockEntity arg3)
method_31707(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2669 arg3)
protected void
a(fbf arg0)
loadAdditional(ValueInput arg0)
method_11014(class_11368 arg0)
protected void
a(fbh arg0)
saveAdditional(ValueOutput arg0)
method_11007(class_11372 arg0)
public VoxelShape
a(dkd arg0, iy arg1)
getCollisionShape(BlockGetter arg0, BlockPos arg1)
method_11512(class_1922 arg0, class_2338 arg1)
public long
v()
getLastTicked()
method_11508()
public void
a(dkz arg0)
setLevel(Level arg0)
method_31662(class_1937 arg0)