net.minecraft.world.level.block.piston

public class PistonStructureResolver

dxs
net.minecraft.world.level.block.piston.PistonStructureResolver
net.minecraft.class_2674
net.minecraft.block.piston.PistonHandler
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
private final Level
b
level
field_12249
world
private final BlockPos
c
pistonPos
field_12250
posFrom
private final boolean
d
extending
field_12247
retracted
private final BlockPos
e
startPos
field_12244
posTo
private final Direction
f
pushDirection
field_12243
motionDirection
private final List<BlockPos>
g
toPush
field_12245
movedBlocks
private final List<BlockPos>
h
toDestroy
field_12246
brokenBlocks
private final Direction
i
pistonDirection
field_12248
pistonDirection

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a()
resolve()
method_11537()
calculatePush()
private static boolean
a(dxv arg0)
isSticky(BlockState arg0)
method_23367(class_2680 arg0)
isBlockSticky(BlockState state)
private static boolean
a(dxv arg0, dxv arg1)
canStickToEachOther(BlockState arg0, BlockState arg1)
method_23675(class_2680 arg0, class_2680 arg1)
isAdjacentBlockStuck(BlockState state, BlockState adjacentState)
private boolean
a(jh arg0, jm arg1)
addBlockLine(BlockPos arg0, Direction arg1)
method_11540(class_2338 arg0, class_2350 arg1)
tryMove(BlockPos pos, Direction dir)
private void
a(int arg0, int arg1)
reorderListAtCollision(int arg0, int arg1)
method_11539(int arg0, int arg1)
setMovedBlocks(int from, int to)
private boolean
a(jh arg0)
addBranchingBlocks(BlockPos arg0)
method_11538(class_2338 arg0)
tryMoveAdjacentBlock(BlockPos pos)
public Direction
b()
getPushDirection()
method_35299()
getMotionDirection()
public List<BlockPos>
c()
getToPush()
method_11541()
getMovedBlocks()
public List<BlockPos>
d()
getToDestroy()
method_11536()
getBrokenBlocks()