net.minecraft.world.level.block.piston

public class PistonMovingBlockEntity

extends BlockEntity

cvk
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
net.minecraft.src.C_2053_
net.minecraft.world.level.block.piston.TileEntityPiston

Field summary

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

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
aa_()
getUpdateTag()
method_16887()
m_escrnqip()
toInitialChunkDataNbt()
toInitialChunkDataNbt()
m_5995_()
public boolean
c()
isExtending()
method_11501()
m_wsirbeyt()
isExtending()
isExtending()
m_60387_()
public Direction
d()
getDirection()
method_11498()
m_froifngc()
getFacing()
getFacing()
m_60392_()
public boolean
f()
isSourcePiston()
method_11515()
m_fcrbddkq()
isSource()
isSource()
m_60397_()
public float
a(float arg0)
getProgress(float arg0)
method_11499(float arg0)
m_osnvduwy(float arg0)
getProgress(float tickDelta)
getProgress(float tickDelta)
m_60350_(float arg0)
public float
b(float arg0)
getXOff(float arg0)
method_11494(float arg0)
m_tlxmitvb(float arg0)
getRenderOffsetX(float tickDelta)
getRenderOffsetX(float tickDelta)
m_60380_(float arg0)
public float
c(float arg0)
getYOff(float arg0)
method_11511(float arg0)
m_puhmodtg(float arg0)
getRenderOffsetY(float tickDelta)
getRenderOffsetY(float tickDelta)
m_60385_(float arg0)
public float
d(float arg0)
getZOff(float arg0)
method_11507(float arg0)
m_runhxkmh(float arg0)
getRenderOffsetZ(float tickDelta)
getRenderOffsetZ(float tickDelta)
m_60388_(float arg0)
private float
e(float arg0)
getExtendedProgress(float arg0)
method_11504(float arg0)
m_szaasgba(float arg0)
getAmountExtended(float progress)
getAmountExtended(float progress)
m_60390_(float arg0)
private BlockState
w()
getCollisionRelatedBlockState()
method_11496()
m_zqowmlcs()
getHeadBlockState()
getHeadBlockState()
m_60403_()
private static void
a(cgx arg0, gt arg1, float arg2, cvk 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 arg2, PistonBlockEntity blockEntity)
m_155910_(C_1596_ p_155911_, C_4675_ p_155912_, float p_155913_, C_2053_ p_155914_)
private static void
a(gy arg0, bbn arg1, double arg2, gy 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 arg2, Direction movementDirection)
moveEntity(Direction noClipDirection, Entity entity, double amount, Direction direction)
m_60371_(C_4687_ p_60372_, C_507_ p_60373_, double p_60374_, C_4687_ arg3)
private static void
b(cgx arg0, gt arg1, float arg2, cvk 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 arg2, PistonBlockEntity blockEntity)
m_155931_(C_1596_ p_155932_, C_4675_ p_155933_, float p_155934_, C_2053_ p_155935_)
private static boolean
a(dwl arg0, bbn arg1)
matchesStickyCritera(AABB arg0, Entity arg1)
method_23671(class_238 arg0, class_1297 arg1)
m_ktfnieqa(C_hbcjzgoe arg0, C_astfners arg1)
canMoveEntity(Box box, Entity entity)
canMoveEntity(Box box, Entity entity)
m_60364_(C_3040_ p_60365_, C_507_ p_60366_)
private boolean
x()
isStickyForEntities()
method_23364()
m_hlnudkkk()
isPushingHoneyBlock()
isMovingHoneyBlock()
m_60404_()
public Direction
g()
getMovementDirection()
method_11506()
m_usuotmqt()
getMovementDirection()
getMovementDirection()
m_60399_()
private static double
a(dwl arg0, gy arg1, dwl 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 arg0, Direction direction, Box arg2)
m_60367_(C_3040_ p_60368_, C_4687_ p_60369_, C_3040_ p_60370_)
private static AABB
a(gt arg0, dwl arg1, cvk 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)
m_155925_(C_4675_ p_155926_, C_3040_ p_155927_, C_2053_ p_155928_)
private static void
a(gt arg0, bbn arg1, gy 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)
m_155920_(C_4675_ p_155921_, C_507_ p_155922_, C_4687_ p_155923_, double p_155924_)
public BlockState
i()
getMovedState()
method_11495()
m_jyvwmixj()
getPushedBlock()
getMovedBlockState()
m_60400_()
public void
j()
finalTick()
method_11513()
m_szmbtwln()
finish()
finish()
m_60401_()
public static void
a(cgx arg0, gt arg1, cvo arg2, cvk 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)
m_155915_(C_1596_ p_155916_, C_4675_ p_155917_, C_2064_ p_155918_, C_2053_ p_155919_)
public void
a(pj arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(pj arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
m_qopnimsa(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public VoxelShape
a(cgd arg0, gt 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)
m_60356_(C_1559_ p_60358_, C_4675_ arg1)
public long
t()
getLastTicked()
method_11508()
m_dsbevonu()
getSavedWorldTime()
getSavedWorldTime()
m_60402_()