Class BitSetVoxelSet

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

public final class BitSetVoxelSet extends VoxelSet
Mappings:
Namespace Name
official edh
intermediary net/minecraft/class_244
named net/minecraft/util/shape/BitSetVoxelSet
  • Field Details

    • storage

      private final BitSet storage
      Mappings:
      Namespace Name Mixin selector
      official d Ledh;d:Ljava/util/BitSet;
      intermediary field_1359 Lnet/minecraft/class_244;field_1359:Ljava/util/BitSet;
      named storage Lnet/minecraft/util/shape/BitSetVoxelSet;storage:Ljava/util/BitSet;
    • minX

      private int minX
      Mappings:
      Namespace Name Mixin selector
      official e Ledh;e:I
      intermediary field_1358 Lnet/minecraft/class_244;field_1358:I
      named minX Lnet/minecraft/util/shape/BitSetVoxelSet;minX:I
    • minY

      private int minY
      Mappings:
      Namespace Name Mixin selector
      official f Ledh;f:I
      intermediary field_1357 Lnet/minecraft/class_244;field_1357:I
      named minY Lnet/minecraft/util/shape/BitSetVoxelSet;minY:I
    • minZ

      private int minZ
      Mappings:
      Namespace Name Mixin selector
      official g Ledh;g:I
      intermediary field_1356 Lnet/minecraft/class_244;field_1356:I
      named minZ Lnet/minecraft/util/shape/BitSetVoxelSet;minZ:I
    • maxX

      private int maxX
      Mappings:
      Namespace Name Mixin selector
      official h Ledh;h:I
      intermediary field_1355 Lnet/minecraft/class_244;field_1355:I
      named maxX Lnet/minecraft/util/shape/BitSetVoxelSet;maxX:I
    • maxY

      private int maxY
      Mappings:
      Namespace Name Mixin selector
      official i Ledh;i:I
      intermediary field_1354 Lnet/minecraft/class_244;field_1354:I
      named maxY Lnet/minecraft/util/shape/BitSetVoxelSet;maxY:I
    • maxZ

      private int maxZ
      Mappings:
      Namespace Name Mixin selector
      official j Ledh;j:I
      intermediary field_1360 Lnet/minecraft/class_244;field_1360:I
      named maxZ Lnet/minecraft/util/shape/BitSetVoxelSet;maxZ:I
  • Constructor Details

    • BitSetVoxelSet

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

      public BitSetVoxelSet(VoxelSet other)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ledh;<init>(Ledn;)V
      intermediary <init> Lnet/minecraft/class_244;<init>(Lnet/minecraft/class_251;)V
      named <init> Lnet/minecraft/util/shape/BitSetVoxelSet;<init>(Lnet/minecraft/util/shape/VoxelSet;)V
  • Method Details

    • create

      public static BitSetVoxelSet create(int sizeX, int sizeY, int sizeZ, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
      Mappings:
      Namespace Name Mixin selector
      official a Ledh;a(IIIIIIIII)Ledh;
      intermediary method_31939 Lnet/minecraft/class_244;method_31939(IIIIIIIII)Lnet/minecraft/class_244;
      named create Lnet/minecraft/util/shape/BitSetVoxelSet;create(IIIIIIIII)Lnet/minecraft/util/shape/BitSetVoxelSet;
    • getIndex

      protected int getIndex(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Ledh;a(III)I
      intermediary method_1039 Lnet/minecraft/class_244;method_1039(III)I
      named getIndex Lnet/minecraft/util/shape/BitSetVoxelSet;getIndex(III)I
    • contains

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

      private void set(int x, int y, int z, boolean updateBounds)
      Mappings:
      Namespace Name Mixin selector
      official a Ledh;a(IIIZ)V
      intermediary method_31940 Lnet/minecraft/class_244;method_31940(IIIZ)V
      named set Lnet/minecraft/util/shape/BitSetVoxelSet;set(IIIZ)V
    • set

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

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

      public int getMin(Direction.Axis axis)
      Specified by:
      getMin in class VoxelSet
      Mappings:
      Namespace Name Mixin selector
      official a Ledn;a(Lgz$a;)I
      intermediary method_1055 Lnet/minecraft/class_251;method_1055(Lnet/minecraft/class_2350$class_2351;)I
      named getMin Lnet/minecraft/util/shape/VoxelSet;getMin(Lnet/minecraft/util/math/Direction$Axis;)I
    • getMax

      public int getMax(Direction.Axis axis)
      Specified by:
      getMax in class VoxelSet
      Mappings:
      Namespace Name Mixin selector
      official b Ledn;b(Lgz$a;)I
      intermediary method_1045 Lnet/minecraft/class_251;method_1045(Lnet/minecraft/class_2350$class_2351;)I
      named getMax Lnet/minecraft/util/shape/VoxelSet;getMax(Lnet/minecraft/util/math/Direction$Axis;)I
    • combine

      static BitSetVoxelSet combine(VoxelSet first, VoxelSet second, PairList xPoints, PairList yPoints, PairList zPoints, BooleanBiFunction function)
      Mappings:
      Namespace Name Mixin selector
      official a Ledh;a(Ledn;Ledn;Ledq;Ledq;Ledq;Ledi;)Ledh;
      intermediary method_1040 Lnet/minecraft/class_244;method_1040(Lnet/minecraft/class_251;Lnet/minecraft/class_251;Lnet/minecraft/class_255;Lnet/minecraft/class_255;Lnet/minecraft/class_255;Lnet/minecraft/class_247;)Lnet/minecraft/class_244;
      named combine Lnet/minecraft/util/shape/BitSetVoxelSet;combine(Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/shape/PairList;Lnet/minecraft/util/shape/PairList;Lnet/minecraft/util/shape/PairList;Lnet/minecraft/util/function/BooleanBiFunction;)Lnet/minecraft/util/shape/BitSetVoxelSet;
    • forEachBox

      protected static void forEachBox(VoxelSet voxelSet, VoxelSet.PositionBiConsumer callback, boolean coalesce)
      Mappings:
      Namespace Name Mixin selector
      official a Ledh;a(Ledn;Ledn$b;Z)V
      intermediary method_31941 Lnet/minecraft/class_244;method_31941(Lnet/minecraft/class_251;Lnet/minecraft/class_251$class_253;Z)V
      named forEachBox Lnet/minecraft/util/shape/BitSetVoxelSet;forEachBox(Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/shape/VoxelSet$PositionBiConsumer;Z)V
    • isColumnFull

      private boolean isColumnFull(int z1, int z2, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Ledh;a(IIII)Z
      intermediary method_1059 Lnet/minecraft/class_244;method_1059(IIII)Z
      named isColumnFull Lnet/minecraft/util/shape/BitSetVoxelSet;isColumnFull(IIII)Z
    • isXzSquareFull

      private boolean isXzSquareFull(int x1, int x2, int z1, int z2, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Ledh;a(IIIII)Z
      intermediary method_31938 Lnet/minecraft/class_244;method_31938(IIIII)Z
      named isXzSquareFull Lnet/minecraft/util/shape/BitSetVoxelSet;isXzSquareFull(IIIII)Z
    • clearColumn

      private void clearColumn(int z1, int z2, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official b Ledh;b(IIII)V
      intermediary method_31942 Lnet/minecraft/class_244;method_31942(IIII)V
      named clearColumn Lnet/minecraft/util/shape/BitSetVoxelSet;clearColumn(IIII)V