net.minecraft.world.level.block.piston

public class PistonStructureResolver

dje
net.minecraft.world.level.block.piston.PistonStructureResolver
net.minecraft.class_2674
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
MAX_MOVABLE_BLOCKS
f_155936_
private final Level
b
level
field_12249
world
f_60409_
private final BlockPos
c
pistonPos
field_12250
posFrom
f_60410_
private final boolean
d
extending
field_12247
retracted
f_60411_
private final BlockPos
e
startPos
field_12244
posTo
f_60412_
private final Direction
f
pushDirection
field_12243
motionDirection
f_60413_
private final List<BlockPos>
g
toPush
field_12245
movedBlocks
f_60414_
private final List<BlockPos>
h
toDestroy
field_12246
brokenBlocks
f_60415_
private final Direction
i
pistonDirection
field_12248
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()
calculatePush()
m_60422_()
private static boolean
a(djh arg0)
isSticky(BlockState arg0)
method_23367(class_2680 arg0)
isBlockSticky(BlockState state)
m_155937_(C_2064_ p_155938_)
private static boolean
a(djh arg0, djh arg1)
canStickToEachOther(BlockState arg0, BlockState arg1)
method_23675(class_2680 arg0, class_2680 arg1)
isAdjacentBlockStuck(BlockState state, BlockState adjacentState)
m_155939_(C_2064_ p_155940_, C_2064_ p_155941_)
private boolean
a(hx arg0, ic arg1)
addBlockLine(BlockPos arg0, Direction arg1)
method_11540(class_2338 arg0, class_2350 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)
setMovedBlocks(int from, int to)
m_60423_(int p_60425_, int arg1)
private boolean
a(hx arg0)
addBranchingBlocks(BlockPos arg0)
method_11538(class_2338 arg0)
tryMoveAdjacentBlock(BlockPos pos)
m_60431_(C_4675_ arg0)
public Direction
b()
getPushDirection()
method_35299()
getMotionDirection()
m_155942_()
public List<BlockPos>
c()
getToPush()
method_11541()
getMovedBlocks()
m_60436_()
public List<BlockPos>
d()
getToDestroy()
method_11536()
getBrokenBlocks()
m_60437_()