net.minecraft.world.level.block.piston

public class PistonStructureResolver

ead
net.minecraft.world.level.block.piston.PistonStructureResolver
net.minecraft.class_2674
net.minecraft.unmapped.C_kiwhhgkl
net.minecraft.block.piston.PistonHandler
net.minecraft.block.piston.PistonHandler

Field summary

Modifier and TypeField
public static final int
a
MAX_PUSH_DEPTH
field_31384
f_uhnjerye
MAX_MOVABLE_BLOCKS
MAX_MOVABLE_BLOCKS
private final Level
b
level
field_12249
f_cpztarfh
world
world
private final BlockPos
c
pistonPos
field_12250
f_egaxlscd
posFrom
pistonPos
private final boolean
d
extending
field_12247
f_ooartndh
retracted
extend
private final BlockPos
e
startPos
field_12244
f_ouwfaiom
posTo
firstMovePos
private final Direction
f
pushDirection
field_12243
f_xdacxrqj
motionDirection
movementDirection
private final List<BlockPos>
g
toPush
field_12245
f_ofyqsuej
movedBlocks
movedBlocks
private final List<BlockPos>
h
toDestroy
field_12246
f_wzxxvvzs
brokenBlocks
brokenBlocks
private final Direction
i
pistonDirection
field_12248
f_tigpjmri
pistonDirection
pistonFacing

Constructor summary

ModifierConstructor
public (Level world, BlockPos pos, Direction dir, boolean retracted)

Method summary

Modifier and TypeMethod
public boolean
a()
resolve()
method_11537()
m_zyuauuev()
calculatePush()
calculateMovement()
private static boolean
a(eah arg0)
isSticky(BlockState arg0)
method_23367(class_2680 arg0)
m_uuftxlvq(C_txtbiemp arg0)
isBlockSticky(BlockState state)
isBlockSticky(BlockState state)
private static boolean
a(eah arg0, eah arg1)
canStickToEachOther(BlockState arg0, BlockState arg1)
method_23675(class_2680 arg0, class_2680 arg1)
m_hrzdymbu(C_txtbiemp arg0, C_txtbiemp arg1)
isAdjacentBlockStuck(BlockState state, BlockState adjacentState)
isAdjacentBlockStuck(BlockState state, BlockState adjacentState)
private boolean
a(iu arg0, ja arg1)
addBlockLine(BlockPos arg0, Direction arg1)
method_11540(class_2338 arg0, class_2350 arg1)
m_hlnrulwx(C_hynzadkk arg0, C_xpuuihxf arg1)
tryMove(BlockPos pos, Direction dir)
tryMove(BlockPos pos, Direction dir)
private void
a(int arg0, int arg1)
reorderListAtCollision(int arg0, int arg1)
method_11539(int arg0, int arg1)
m_mbnaomnz(int arg0, int arg1)
setMovedBlocks(int from, int to)
setMovedBlocks(int from, int to)
private boolean
a(iu arg0)
addBranchingBlocks(BlockPos arg0)
method_11538(class_2338 arg0)
m_cshqlkwc(C_hynzadkk arg0)
tryMoveAdjacentBlock(BlockPos pos)
tryMoveAdjacentBlock(BlockPos pos)
public Direction
b()
getPushDirection()
method_35299()
m_padquoyg()
getMotionDirection()
getMovementDirection()
public List<BlockPos>
c()
getToPush()
method_11541()
m_gosynevj()
getMovedBlocks()
getMovedBlocks()
public List<BlockPos>
d()
getToDestroy()
method_11536()
m_xwbdlqyr()
getBrokenBlocks()
getBrokenBlocks()