Class BitSetVoxelSet

java.lang.Object
net.minecraft.util.shape.VoxelSet
net.minecraft.util.shape.BitSetVoxelSet

public final class BitSetVoxelSet
extends VoxelSet
  • Field Details

    • storage

      private final BitSet storage
    • xMin

      private int xMin
    • yMin

      private int yMin
    • zMin

      private int zMin
    • xMax

      private int xMax
    • yMax

      private int yMax
    • zMax

      private int zMax
  • Constructor Details

    • BitSetVoxelSet

      public BitSetVoxelSet​(int xSize, int ySize, int zSize)
    • BitSetVoxelSet

      public BitSetVoxelSet​(VoxelSet other)
  • Method Details

    • method_31939

      public static BitSetVoxelSet method_31939​(int int2, int int3, int int4, int int5, int int6, int int7, int int8, int int9, int int10)
    • getIndex

      protected int getIndex​(int x, int y, int z)
    • contains

      public boolean contains​(int x, int y, int z)
      Specified by:
      contains in class VoxelSet
    • method_31940

      private void method_31940​(int int2, int int3, int int4, boolean bool)
    • set

      public void set​(int x, int y, int z)
      Specified by:
      set in class VoxelSet
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class VoxelSet
    • getMin

      public int getMin​(Direction.Axis axis)
      Specified by:
      getMin in class VoxelSet
    • getMax

      public int getMax​(Direction.Axis axis)
      Specified by:
      getMax in class VoxelSet
    • combine

      static BitSetVoxelSet combine​(VoxelSet first, VoxelSet second, PairList xPoints, PairList yPoints, PairList zPoints, BooleanBiFunction function)
    • method_31941

      protected static void method_31941​(VoxelSet voxelSet, VoxelSet.PositionBiConsumer positionBiConsumer, boolean bool)
    • isColumnFull

      private boolean isColumnFull​(int int2, int int3, int int4, int int5)
    • method_31938

      private boolean method_31938​(int int2, int int3, int int4, int int5, int int6)
    • method_31942

      private void method_31942​(int int2, int int3, int int4, int int5)