Class DiscreteVoxelShape

java.lang.Object
net.minecraft.world.phys.shapes.DiscreteVoxelShape
Direct Known Subclasses:
BitSetDiscreteVoxelShape, SubShape

public abstract class DiscreteVoxelShape extends Object
  • Field Details

    • AXIS_VALUES

      private static final Direction.Axis[] AXIS_VALUES
    • xSize

      protected final int xSize
    • ySize

      protected final int ySize
    • zSize

      protected final int zSize
  • Constructor Details

    • DiscreteVoxelShape

      protected DiscreteVoxelShape(int p_82787_, int p_82788_, int p_82789_)
  • Method Details

    • isFullWide

      public boolean isFullWide(AxisCycle p_82823_, int p_82824_, int p_82825_, int p_82826_)
    • isFullWide

      public boolean isFullWide(int p_82847_, int p_82848_, int p_82849_)
    • isFull

      public boolean isFull(AxisCycle p_82836_, int p_82837_, int p_82838_, int p_82839_)
    • isFull

      public abstract boolean isFull(int p_82829_, int p_82830_, int p_82831_)
    • fill

      public abstract void fill(int p_165998_, int p_165999_, int p_166000_)
    • isEmpty

      public boolean isEmpty()
    • firstFull

      public abstract int firstFull(Direction.Axis p_82827_)
    • lastFull

      public abstract int lastFull(Direction.Axis p_82840_)
    • firstFull

      public int firstFull(Direction.Axis p_165995_, int p_165996_, int p_165997_)
    • lastFull

      public int lastFull(Direction.Axis p_82842_, int p_82843_, int p_82844_)
    • getSize

      public int getSize(Direction.Axis p_82851_)
    • getXSize

      public int getXSize()
    • getYSize

      public int getYSize()
    • getZSize

      public int getZSize()
    • forAllEdges

      public void forAllEdges(DiscreteVoxelShape.IntLineConsumer p_82820_, boolean p_82821_)
    • forAllAxisEdges

      private void forAllAxisEdges(DiscreteVoxelShape.IntLineConsumer p_82816_, AxisCycle p_82817_, boolean p_82818_)
    • forAllBoxes

      public void forAllBoxes(DiscreteVoxelShape.IntLineConsumer p_82833_, boolean p_82834_)
    • forAllFaces

      public void forAllFaces(DiscreteVoxelShape.IntFaceConsumer p_82811_)
    • forAllAxisFaces

      private void forAllAxisFaces(DiscreteVoxelShape.IntFaceConsumer p_82813_, AxisCycle p_82814_)