net.minecraft.world.level.block.piston

public class PistonStructureResolver

cnz
net.minecraft.world.level.block.piston.PistonStructureResolver
net.minecraft.class_2674
net.minecraft.unmapped.C_kiwhhgkl
net.minecraft.block.piston.PistonHandler
net.minecraft.src.C_2055_
net.minecraft.world.level.block.piston.PistonExtendsChecker

Field summary

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

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()
m_60422_()
private static boolean
a(coc arg0)
isSticky(BlockState arg0)
method_23367(class_2680 arg0)
m_uuftxlvq(C_txtbiemp arg0)
isBlockSticky(BlockState state)
m_155937_(C_2064_ p_155938_)
private static boolean
a(coc arg0, coc 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)
m_155939_(C_2064_ p_155940_, C_2064_ p_155941_)
private boolean
a(gh arg0, gm 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)
m_60433_(C_4675_ p_60435_, C_4687_ arg1)
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)
m_60423_(int p_60425_, int arg1)
private boolean
a(gh arg0)
addBranchingBlocks(BlockPos arg0)
method_11538(class_2338 arg0)
m_cshqlkwc(C_hynzadkk arg0)
tryMoveAdjacentBlock(BlockPos pos)
m_60431_(C_4675_ arg0)
public Direction
b()
getPushDirection()
method_35299()
m_padquoyg()
getMotionDirection()
m_155942_()
public List<BlockPos>
c()
getToPush()
method_11541()
m_gosynevj()
getMovedBlocks()
m_60436_()
public List<BlockPos>
d()
getToDestroy()
method_11536()
m_xwbdlqyr()
getBrokenBlocks()
m_60437_()