Class PistonBlockStructureHelper

java.lang.Object
net.minecraft.block.PistonBlockStructureHelper

public class PistonBlockStructureHelper extends Object
  • Field Details

    • level

      private final World level
    • pistonPos

      private final BlockPos pistonPos
    • extending

      private final boolean extending
    • startPos

      private final BlockPos startPos
    • pushDirection

      private final Direction pushDirection
    • toPush

      private final List<BlockPos> toPush
    • toDestroy

      private final List<BlockPos> toDestroy
    • pistonDirection

      private final Direction pistonDirection
  • Constructor Details

    • PistonBlockStructureHelper

      public PistonBlockStructureHelper(World p_i45664_1_, BlockPos p_i45664_2_, Direction p_i45664_3_, boolean p_i45664_4_)
  • Method Details

    • resolve

      public boolean resolve()
    • addBlockLine

      private boolean addBlockLine(BlockPos p_177251_1_, Direction p_177251_2_)
    • reorderListAtCollision

      private void reorderListAtCollision(int p_177255_1_, int p_177255_2_)
    • addBranchingBlocks

      private boolean addBranchingBlocks(BlockPos p_177250_1_)
    • getToPush

      public List<BlockPos> getToPush()
    • getToDestroy

      public List<BlockPos> getToDestroy()