Class VoxelSet

java.lang.Object
net.minecraft.util.shape.VoxelSet
Direct Known Subclasses:
BitSetVoxelSet, CroppedVoxelSet

public abstract class VoxelSet extends Object
Mappings:
Namespace Name
named net/minecraft/util/shape/VoxelSet
intermediary net/minecraft/class_251
official ewq
  • Field Details

    • AXES

      private static final Direction.Axis[] AXES
      Mappings:
      Namespace Name Mixin selector
      named AXES Lnet/minecraft/util/shape/VoxelSet;AXES:[Lnet/minecraft/util/math/Direction$Axis;
      intermediary field_1375 Lnet/minecraft/class_251;field_1375:[Lnet/minecraft/class_2350$class_2351;
      official d Lewq;d:[Ljf$a;
    • sizeX

      protected final int sizeX
      Mappings:
      Namespace Name Mixin selector
      named sizeX Lnet/minecraft/util/shape/VoxelSet;sizeX:I
      intermediary field_1374 Lnet/minecraft/class_251;field_1374:I
      official a Lewq;a:I
    • sizeY

      protected final int sizeY
      Mappings:
      Namespace Name Mixin selector
      named sizeY Lnet/minecraft/util/shape/VoxelSet;sizeY:I
      intermediary field_1373 Lnet/minecraft/class_251;field_1373:I
      official b Lewq;b:I
    • sizeZ

      protected final int sizeZ
      Mappings:
      Namespace Name Mixin selector
      named sizeZ Lnet/minecraft/util/shape/VoxelSet;sizeZ:I
      intermediary field_1372 Lnet/minecraft/class_251;field_1372:I
      official c Lewq;c:I
  • Constructor Details

    • VoxelSet

      protected VoxelSet(int sizeX, int sizeY, int sizeZ)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/shape/VoxelSet;<init>(III)V
      intermediary <init> Lnet/minecraft/class_251;<init>(III)V
      official <init> Lewq;<init>(III)V
  • Method Details

    • inBoundsAndContains

      public boolean inBoundsAndContains(AxisCycleDirection cycle, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named inBoundsAndContains Lnet/minecraft/util/shape/VoxelSet;inBoundsAndContains(Lnet/minecraft/util/math/AxisCycleDirection;III)Z
      intermediary method_1062 Lnet/minecraft/class_251;method_1062(Lnet/minecraft/class_2335;III)Z
      official a Lewq;a(Lix;III)Z
    • inBoundsAndContains

      public boolean inBoundsAndContains(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named inBoundsAndContains Lnet/minecraft/util/shape/VoxelSet;inBoundsAndContains(III)Z
      intermediary method_1044 Lnet/minecraft/class_251;method_1044(III)Z
      official e Lewq;e(III)Z
    • contains

      public boolean contains(AxisCycleDirection cycle, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named contains Lnet/minecraft/util/shape/VoxelSet;contains(Lnet/minecraft/util/math/AxisCycleDirection;III)Z
      intermediary method_1057 Lnet/minecraft/class_251;method_1057(Lnet/minecraft/class_2335;III)Z
      official b Lewq;b(Lix;III)Z
    • contains

      public abstract boolean contains(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named contains Lnet/minecraft/util/shape/VoxelSet;contains(III)Z
      intermediary method_1063 Lnet/minecraft/class_251;method_1063(III)Z
      official b Lewq;b(III)Z
    • set

      public abstract void set(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/util/shape/VoxelSet;set(III)V
      intermediary method_1049 Lnet/minecraft/class_251;method_1049(III)V
      official c Lewq;c(III)V
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/util/shape/VoxelSet;isEmpty()Z
      intermediary method_1056 Lnet/minecraft/class_251;method_1056()Z
      official a Lewq;a()Z
    • getMin

      public abstract int getMin(Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      named getMin Lnet/minecraft/util/shape/VoxelSet;getMin(Lnet/minecraft/util/math/Direction$Axis;)I
      intermediary method_1055 Lnet/minecraft/class_251;method_1055(Lnet/minecraft/class_2350$class_2351;)I
      official a Lewq;a(Ljf$a;)I
    • getMax

      public abstract int getMax(Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      named getMax Lnet/minecraft/util/shape/VoxelSet;getMax(Lnet/minecraft/util/math/Direction$Axis;)I
      intermediary method_1045 Lnet/minecraft/class_251;method_1045(Lnet/minecraft/class_2350$class_2351;)I
      official b Lewq;b(Ljf$a;)I
    • getStartingAxisCoord

      public int getStartingAxisCoord(Direction.Axis axis, int from, int to)
      Mappings:
      Namespace Name Mixin selector
      named getStartingAxisCoord Lnet/minecraft/util/shape/VoxelSet;getStartingAxisCoord(Lnet/minecraft/util/math/Direction$Axis;II)I
      intermediary method_35592 Lnet/minecraft/class_251;method_35592(Lnet/minecraft/class_2350$class_2351;II)I
      official a Lewq;a(Ljf$a;II)I
    • getEndingAxisCoord

      public int getEndingAxisCoord(Direction.Axis axis, int from, int to)
      Mappings:
      Namespace Name Mixin selector
      named getEndingAxisCoord Lnet/minecraft/util/shape/VoxelSet;getEndingAxisCoord(Lnet/minecraft/util/math/Direction$Axis;II)I
      intermediary method_1058 Lnet/minecraft/class_251;method_1058(Lnet/minecraft/class_2350$class_2351;II)I
      official b Lewq;b(Ljf$a;II)I
    • getSize

      public int getSize(Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      named getSize Lnet/minecraft/util/shape/VoxelSet;getSize(Lnet/minecraft/util/math/Direction$Axis;)I
      intermediary method_1051 Lnet/minecraft/class_251;method_1051(Lnet/minecraft/class_2350$class_2351;)I
      official c Lewq;c(Ljf$a;)I
    • getXSize

      public int getXSize()
      Mappings:
      Namespace Name Mixin selector
      named getXSize Lnet/minecraft/util/shape/VoxelSet;getXSize()I
      intermediary method_1050 Lnet/minecraft/class_251;method_1050()I
      official b Lewq;b()I
    • getYSize

      public int getYSize()
      Mappings:
      Namespace Name Mixin selector
      named getYSize Lnet/minecraft/util/shape/VoxelSet;getYSize()I
      intermediary method_1047 Lnet/minecraft/class_251;method_1047()I
      official c Lewq;c()I
    • getZSize

      public int getZSize()
      Mappings:
      Namespace Name Mixin selector
      named getZSize Lnet/minecraft/util/shape/VoxelSet;getZSize()I
      intermediary method_1048 Lnet/minecraft/class_251;method_1048()I
      official d Lewq;d()I
    • forEachEdge

      public void forEachEdge(VoxelSet.PositionBiConsumer callback, boolean coalesce)
      Mappings:
      Namespace Name Mixin selector
      named forEachEdge Lnet/minecraft/util/shape/VoxelSet;forEachEdge(Lnet/minecraft/util/shape/VoxelSet$PositionBiConsumer;Z)V
      intermediary method_1064 Lnet/minecraft/class_251;method_1064(Lnet/minecraft/class_251$class_253;Z)V
      official a Lewq;a(Lewq$b;Z)V
    • forEachEdge

      private void forEachEdge(VoxelSet.PositionBiConsumer callback, AxisCycleDirection direction, boolean coalesce)
      Mappings:
      Namespace Name Mixin selector
      named forEachEdge Lnet/minecraft/util/shape/VoxelSet;forEachEdge(Lnet/minecraft/util/shape/VoxelSet$PositionBiConsumer;Lnet/minecraft/util/math/AxisCycleDirection;Z)V
      intermediary method_1052 Lnet/minecraft/class_251;method_1052(Lnet/minecraft/class_251$class_253;Lnet/minecraft/class_2335;Z)V
      official a Lewq;a(Lewq$b;Lix;Z)V
    • forEachBox

      public void forEachBox(VoxelSet.PositionBiConsumer consumer, boolean coalesce)
      Mappings:
      Namespace Name Mixin selector
      named forEachBox Lnet/minecraft/util/shape/VoxelSet;forEachBox(Lnet/minecraft/util/shape/VoxelSet$PositionBiConsumer;Z)V
      intermediary method_1053 Lnet/minecraft/class_251;method_1053(Lnet/minecraft/class_251$class_253;Z)V
      official b Lewq;b(Lewq$b;Z)V
    • forEachDirection

      public void forEachDirection(VoxelSet.PositionConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      named forEachDirection Lnet/minecraft/util/shape/VoxelSet;forEachDirection(Lnet/minecraft/util/shape/VoxelSet$PositionConsumer;)V
      intermediary method_1046 Lnet/minecraft/class_251;method_1046(Lnet/minecraft/class_251$class_252;)V
      official a Lewq;a(Lewq$a;)V
    • forEachDirection

      private void forEachDirection(VoxelSet.PositionConsumer consumer, AxisCycleDirection direction)
      Mappings:
      Namespace Name Mixin selector
      named forEachDirection Lnet/minecraft/util/shape/VoxelSet;forEachDirection(Lnet/minecraft/util/shape/VoxelSet$PositionConsumer;Lnet/minecraft/util/math/AxisCycleDirection;)V
      intermediary method_1061 Lnet/minecraft/class_251;method_1061(Lnet/minecraft/class_251$class_252;Lnet/minecraft/class_2335;)V
      official a Lewq;a(Lewq$a;Lix;)V