Class CroppedVoxelSet

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

public final class CroppedVoxelSet
extends VoxelSet
  • Field Details

    • parent

      private final VoxelSet parent
    • xMin

      private final int xMin
    • yMin

      private final int yMin
    • zMin

      private final int zMin
    • xMax

      private final int xMax
    • yMax

      private final int yMax
    • zMax

      private final int zMax
  • Constructor Details

    • CroppedVoxelSet

      protected CroppedVoxelSet​(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)
  • Method Details

    • contains

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

      public void set​(int x, int y, int z, boolean resize, boolean included)
      Specified by:
      set 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