Package net.minecraft.util.shape
Class BitSetVoxelSet
java.lang.Object
net.minecraft.util.shape.VoxelSet
net.minecraft.util.shape.BitSetVoxelSet
- Mappings:
Namespace Name named net/minecraft/util/shape/BitSetVoxelSet
intermediary net/minecraft/class_244
official evw
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.shape.VoxelSet
VoxelSet.PositionBiConsumer, VoxelSet.PositionConsumer
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private int
private int
private int
private int
private final BitSet
-
Constructor Summary
ConstructorDescriptionBitSetVoxelSet
(int sizeX, int sizeY, int sizeZ) BitSetVoxelSet
(VoxelSet other) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
clearColumn
(int z1, int z2, int x, int y) (package private) static BitSetVoxelSet
combine
(VoxelSet first, VoxelSet second, PairList xPoints, PairList yPoints, PairList zPoints, BooleanBiFunction function) boolean
contains
(int x, int y, int z) static BitSetVoxelSet
create
(int sizeX, int sizeY, int sizeZ, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) protected static void
forEachBox
(VoxelSet voxelSet, VoxelSet.PositionBiConsumer callback, boolean coalesce) protected int
getIndex
(int x, int y, int z) int
getMax
(Direction.Axis axis) int
getMin
(Direction.Axis axis) private boolean
isColumnFull
(int z1, int z2, int x, int y) boolean
isEmpty()
private boolean
isXzSquareFull
(int x1, int x2, int z1, int z2, int y) void
set
(int x, int y, int z) private void
set
(int x, int y, int z, boolean updateBounds) boolean
surrounded
(int x, int y, int z) Methods inherited from class net.minecraft.util.shape.VoxelSet
contains, forEachBox, forEachDirection, forEachEdge, getEndingAxisCoord, getSize, getStartingAxisCoord, getXSize, getYSize, getZSize, inBoundsAndContains, inBoundsAndContains
-
Field Details
-
storage
- Mappings:
Namespace Name Mixin selector named storage
Lnet/minecraft/util/shape/BitSetVoxelSet;storage:Ljava/util/BitSet;
intermediary field_1359
Lnet/minecraft/class_244;field_1359:Ljava/util/BitSet;
official d
Levw;d:Ljava/util/BitSet;
-
minX
private int minX- Mappings:
Namespace Name Mixin selector named minX
Lnet/minecraft/util/shape/BitSetVoxelSet;minX:I
intermediary field_1358
Lnet/minecraft/class_244;field_1358:I
official e
Levw;e:I
-
minY
private int minY- Mappings:
Namespace Name Mixin selector named minY
Lnet/minecraft/util/shape/BitSetVoxelSet;minY:I
intermediary field_1357
Lnet/minecraft/class_244;field_1357:I
official f
Levw;f:I
-
minZ
private int minZ- Mappings:
Namespace Name Mixin selector named minZ
Lnet/minecraft/util/shape/BitSetVoxelSet;minZ:I
intermediary field_1356
Lnet/minecraft/class_244;field_1356:I
official g
Levw;g:I
-
maxX
private int maxX- Mappings:
Namespace Name Mixin selector named maxX
Lnet/minecraft/util/shape/BitSetVoxelSet;maxX:I
intermediary field_1355
Lnet/minecraft/class_244;field_1355:I
official h
Levw;h:I
-
maxY
private int maxY- Mappings:
Namespace Name Mixin selector named maxY
Lnet/minecraft/util/shape/BitSetVoxelSet;maxY:I
intermediary field_1354
Lnet/minecraft/class_244;field_1354:I
official i
Levw;i:I
-
maxZ
private int maxZ- Mappings:
Namespace Name Mixin selector named maxZ
Lnet/minecraft/util/shape/BitSetVoxelSet;maxZ:I
intermediary field_1360
Lnet/minecraft/class_244;field_1360:I
official j
Levw;j:I
-
-
Constructor Details
-
BitSetVoxelSet
public BitSetVoxelSet(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>
Lewc;<init>(III)V
-
BitSetVoxelSet
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/shape/BitSetVoxelSet;<init>(Lnet/minecraft/util/shape/VoxelSet;)V
intermediary <init>
Lnet/minecraft/class_244;<init>(Lnet/minecraft/class_251;)V
official <init>
Levw;<init>(Lewc;)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 named create
Lnet/minecraft/util/shape/BitSetVoxelSet;create(IIIIIIIII)Lnet/minecraft/util/shape/BitSetVoxelSet;
intermediary method_31939
Lnet/minecraft/class_244;method_31939(IIIIIIIII)Lnet/minecraft/class_244;
official a
Levw;a(IIIIIIIII)Levw;
-
getIndex
protected int getIndex(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named getIndex
Lnet/minecraft/util/shape/BitSetVoxelSet;getIndex(III)I
intermediary method_1039
Lnet/minecraft/class_244;method_1039(III)I
official a
Levw;a(III)I
-
contains
public boolean contains(int x, int y, int z) -
set
private void set(int x, int y, int z, boolean updateBounds) - Mappings:
Namespace Name Mixin selector named set
Lnet/minecraft/util/shape/BitSetVoxelSet;set(IIIZ)V
intermediary method_31940
Lnet/minecraft/class_244;method_31940(IIIZ)V
official a
Levw;a(IIIZ)V
-
set
public void set(int x, int y, int z) -
isEmpty
public boolean isEmpty() -
getMin
- Specified by:
getMin
in classVoxelSet
- 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
Lewc;a(Lje$a;)I
-
getMax
- Specified by:
getMax
in classVoxelSet
- 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
Lewc;b(Lje$a;)I
-
combine
static BitSetVoxelSet combine(VoxelSet first, VoxelSet second, PairList xPoints, PairList yPoints, PairList zPoints, BooleanBiFunction function) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Levw;a(Lewc;Lewc;Lewf;Lewf;Lewf;Levx;)Levw;
-
forEachBox
protected static void forEachBox(VoxelSet voxelSet, VoxelSet.PositionBiConsumer callback, boolean coalesce) - Mappings:
Namespace Name Mixin selector named forEachBox
Lnet/minecraft/util/shape/BitSetVoxelSet;forEachBox(Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/shape/VoxelSet$PositionBiConsumer;Z)V
intermediary method_31941
Lnet/minecraft/class_244;method_31941(Lnet/minecraft/class_251;Lnet/minecraft/class_251$class_253;Z)V
official a
Levw;a(Lewc;Lewc$b;Z)V
-
isColumnFull
private boolean isColumnFull(int z1, int z2, int x, int y) - Mappings:
Namespace Name Mixin selector named isColumnFull
Lnet/minecraft/util/shape/BitSetVoxelSet;isColumnFull(IIII)Z
intermediary method_1059
Lnet/minecraft/class_244;method_1059(IIII)Z
official a
Levw;a(IIII)Z
-
isXzSquareFull
private boolean isXzSquareFull(int x1, int x2, int z1, int z2, int y) - Mappings:
Namespace Name Mixin selector named isXzSquareFull
Lnet/minecraft/util/shape/BitSetVoxelSet;isXzSquareFull(IIIII)Z
intermediary method_31938
Lnet/minecraft/class_244;method_31938(IIIII)Z
official a
Levw;a(IIIII)Z
-
clearColumn
private void clearColumn(int z1, int z2, int x, int y) - Mappings:
Namespace Name Mixin selector named clearColumn
Lnet/minecraft/util/shape/BitSetVoxelSet;clearColumn(IIII)V
intermediary method_31942
Lnet/minecraft/class_244;method_31942(IIII)V
official b
Levw;b(IIII)V
-
surrounded
public boolean surrounded(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named surrounded
Lnet/minecraft/util/shape/BitSetVoxelSet;surrounded(III)Z
intermediary method_58225
Lnet/minecraft/class_244;method_58225(III)Z
official d
Levw;d(III)Z
-