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
    • minX

      private final int minX
    • minY

      private final int minY
    • minZ

      private final int minZ
    • maxX

      private final int maxX
    • maxY

      private final int maxY
    • maxZ

      private final int maxZ
  • Constructor Details

    • CroppedVoxelSet

      protected CroppedVoxelSet​(VoxelSet parent, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
  • 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