Class PistonStructureResolver
java.lang.Object
net.minecraft.world.level.block.piston.PistonStructureResolver
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPistonStructureResolver(Level p_60418_, BlockPos p_60419_, Direction p_60420_, boolean p_60421_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
addBlockLine(BlockPos p_60434_, Direction p_60435_)
private boolean
addBranchingBlocks(BlockPos p_60432_)
private void
reorderListAtCollision(int p_60424_, int p_60425_)
boolean
resolve()
-
Field Details
-
MAX_PUSH_DEPTH
public static final int MAX_PUSH_DEPTH- See Also:
- Constant Field Values
-
level
-
pistonPos
-
extending
private final boolean extending -
startPos
-
pushDirection
-
toPush
-
toDestroy
-
pistonDirection
-
-
Constructor Details
-
PistonStructureResolver
-
-
Method Details
-
resolve
public boolean resolve() -
addBlockLine
-
reorderListAtCollision
private void reorderListAtCollision(int p_60424_, int p_60425_) -
addBranchingBlocks
-
getPushDirection
-
getToPush
-
getToDestroy
-