net.minecraft.world.level.block.piston

public class PistonMovingBlockEntity

extends BlockEntity

eac
net.minecraft.world.level.block.piston.PistonMovingBlockEntity
net.minecraft.class_2669
net.minecraft.unmapped.C_wpearmnv
net.minecraft.block.entity.PistonBlockEntity
net.minecraft.block.entity.PistonBlockEntity

Field summary

Modifier and TypeField
private static final int
b
TICKS_TO_EXTEND
field_31382
f_quxysgyu
field_31382
TICKS_TO_EXTEND
private static final double
c
PUSH_OFFSET
field_31383
f_xadmeyxn
field_31383
PUSH_OFFSET
public static final double
a
TICK_MOVEMENT
field_31381
f_arjyvzgo
field_31381
TICK_MOVEMENT
private BlockState
d
movedState
field_12204
f_rvkdkxam
pushedBlock
movedState
private Direction
e
direction
field_12201
f_rbuxpdya
facing
facing
private boolean
f
extending
field_12203
f_wpwkhlxx
extending
extending
private boolean
g
isSourcePiston
field_12202
f_qviclatw
source
source
private static final ThreadLocal<Direction>
h
NOCLIP
field_12205
f_nljvvfry
entityMovementDirection
NO_CLIP
private float
i
progress
field_12207
f_kuqnpbhp
progress
progress
private float
j
progressO
field_12206
f_ejhvuroq
lastProgress
lastProgress
private long
k
lastTicked
field_12208
f_jmavxxxf
savedWorldTime
savedWorldTime
private int
l
deathTicks
field_26705
f_kqmwaqkf
field_26705
deathTicks

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)
public (BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source)

Method summary

Modifier and TypeMethod
public CompoundTag
a(jg$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
m_escrnqip(C_vtbxyypo$C_etmlgbig arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
toSyncedNbt(HolderLookup$Provider arg0)
public boolean
a()
isExtending()
method_11501()
m_wsirbeyt()
isExtending()
isExtending()
public Direction
c()
getDirection()
method_11498()
m_froifngc()
getFacing()
getFacing()
public boolean
d()
isSourcePiston()
method_11515()
m_fcrbddkq()
isSource()
isSource()
public float
a(float arg0)
getProgress(float arg0)
method_11499(float arg0)
m_osnvduwy(float arg0)
getProgress(float tickProgress)
getProgress(float tickDelta)
public float
b(float arg0)
getXOff(float arg0)
method_11494(float arg0)
m_tlxmitvb(float arg0)
getRenderOffsetX(float tickProgress)
getRenderOffsetX(float tickDelta)
public float
c(float arg0)
getYOff(float arg0)
method_11511(float arg0)
m_puhmodtg(float arg0)
getRenderOffsetY(float tickProgress)
getRenderOffsetY(float tickDelta)
public float
d(float arg0)
getZOff(float arg0)
method_11507(float arg0)
m_runhxkmh(float arg0)
getRenderOffsetZ(float tickProgress)
getRenderOffsetZ(float tickDelta)
private float
e(float arg0)
getExtendedProgress(float arg0)
method_11504(float arg0)
m_szaasgba(float arg0)
getAmountExtended(float progress)
getAmountExtended(float progress)
private BlockState
u()
getCollisionRelatedBlockState()
method_11496()
m_zqowmlcs()
getHeadBlockState()
getHeadBlockState()
private static void
a(dja arg0, iu arg1, float arg2, eac arg3)
moveCollidedEntities(Level arg0, BlockPos arg1, float arg2, PistonMovingBlockEntity arg3)
method_11503(class_1937 arg0, class_2338 arg1, float arg2, class_2669 arg3)
m_eoastxgq(C_cdctfzbn arg0, C_hynzadkk arg1, float arg2, C_wpearmnv arg3)
pushEntities(World world, BlockPos pos, float arg2, PistonBlockEntity blockEntity)
pushEntities(World world, BlockPos pos, float progress, PistonBlockEntity blockEntity)
private static void
a(ja arg0, bwf arg1, double arg2, ja arg3)
moveEntityByPiston(Direction arg0, Entity arg1, double arg2, Direction arg3)
method_23672(class_2350 arg0, class_1297 arg1, double arg2, class_2350 arg3)
m_cnjlnveg(C_xpuuihxf arg0, C_astfners arg1, double arg2, C_xpuuihxf arg3)
moveEntity(Direction direction, Entity entity, double distance, Direction movementDirection)
moveEntity(Direction noClipDirection, Entity entity, double amount, Direction direction)
private static void
b(dja arg0, iu arg1, float arg2, eac arg3)
moveStuckEntities(Level arg0, BlockPos arg1, float arg2, PistonMovingBlockEntity arg3)
method_23674(class_1937 arg0, class_2338 arg1, float arg2, class_2669 arg3)
m_sctqdyqc(C_cdctfzbn arg0, C_hynzadkk arg1, float arg2, C_wpearmnv arg3)
moveEntitiesInHoneyBlock(World world, BlockPos pos, float arg2, PistonBlockEntity blockEntity)
moveEntitiesInHoneyBlock(World world, BlockPos pos, float progress, PistonBlockEntity blockEntity)
private static boolean
a(fel arg0, bwf arg1, iu arg2)
matchesStickyCritera(AABB arg0, Entity arg1, BlockPos arg2)
method_23671(class_238 arg0, class_1297 arg1, class_2338 arg2)
m_ktfnieqa(C_hbcjzgoe arg0, C_astfners arg1, C_hynzadkk arg2)
canMoveEntity(Box box, Entity entity, BlockPos pos)
canMoveEntity(Box box, Entity entity, BlockPos pos)
private boolean
v()
isStickyForEntities()
method_23364()
m_hlnudkkk()
isPushingHoneyBlock()
isMovingHoneyBlock()
public Direction
f()
getMovementDirection()
method_11506()
m_usuotmqt()
getMovementDirection()
getMovementDirection()
private static double
a(fel arg0, ja arg1, fel arg2)
getMovement(AABB arg0, Direction arg1, AABB arg2)
method_11497(class_238 arg0, class_2350 arg1, class_238 arg2)
m_gnbgcwpf(C_hbcjzgoe arg0, C_xpuuihxf arg1, C_hbcjzgoe arg2)
getIntersectionSize(Box arg0, Direction arg1, Box arg2)
getIntersectionSize(Box box1, Direction direction, Box box2)
private static AABB
a(iu arg0, fel arg1, eac arg2)
moveByPositionAndProgress(BlockPos arg0, AABB arg1, PistonMovingBlockEntity arg2)
method_11500(class_2338 arg0, class_238 arg1, class_2669 arg2)
m_nxxtthvz(C_hynzadkk arg0, C_hbcjzgoe arg1, C_wpearmnv arg2)
offsetHeadBox(BlockPos pos, Box box, PistonBlockEntity blockEntity)
offsetHeadBox(BlockPos pos, Box box, PistonBlockEntity blockEntity)
private static void
a(iu arg0, bwf arg1, ja 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)
m_anfbgbcl(C_hynzadkk arg0, C_astfners arg1, C_xpuuihxf arg2, double arg3)
push(BlockPos pos, Entity entity, Direction direction, double amount)
push(BlockPos pos, Entity entity, Direction direction, double amount)
public BlockState
j()
getMovedState()
method_11495()
m_jyvwmixj()
getPushedBlock()
getMovedBlockState()
public void
k()
finalTick()
method_11513()
m_szmbtwln()
finish()
finish()
public void
a(iu arg0, eah arg1)
preRemoveSideEffects(BlockPos arg0, BlockState arg1)
method_66473(class_2338 arg0, class_2680 arg1)
m_zbfmojnu(C_hynzadkk arg0, C_txtbiemp arg1)
onBlockReplaced(BlockPos arg0, BlockState arg1)
m_zbfmojnu(BlockPos arg0, BlockState arg1)
public Direction
s()
getPushDirection()
method_61764()
m_hjvaaomv()
getDirection()
getExtensionDirection()
public static void
a(dja arg0, iu arg1, eah arg2, eac arg3)
tick(Level arg0, BlockPos arg1, BlockState arg2, PistonMovingBlockEntity arg3)
method_31707(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2669 arg3)
m_jmlpuhal(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_wpearmnv arg3)
tick(World world, BlockPos pos, BlockState state, PistonBlockEntity blockEntity)
tick(World world, BlockPos pos, BlockState state, PistonBlockEntity blockEntity)
protected void
a(tz arg0, jg$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
protected void
b(tz arg0, jg$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
public VoxelShape
a(dig arg0, iu arg1)
getCollisionShape(BlockGetter arg0, BlockPos arg1)
method_11512(class_1922 arg0, class_2338 arg1)
m_hsrsrqug(C_peaveboq arg0, C_hynzadkk arg1)
getCollisionShape(BlockView world, BlockPos pos)
getCollisionShape(BlockView world, BlockPos pos)
public long
t()
getLastTicked()
method_11508()
m_dsbevonu()
getSavedWorldTime()
getSavedWorldTime()
public void
a(dja arg0)
setLevel(Level arg0)
method_31662(class_1937 arg0)
m_kdzukdvh(C_cdctfzbn arg0)
setWorld(World arg0)
setWorld(World arg0)