Package net.minecraft.util.shape
Class BitSetVoxelSet
java.lang.Object
net.minecraft.util.shape.VoxelSet
net.minecraft.util.shape.BitSetVoxelSet
- Mappings:
Namespace Name official dnd
intermediary net/minecraft/class_244
named net/minecraft/util/shape/BitSetVoxelSet
-
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 BitSet
-
Constructor Summary
ConstructorDescriptionBitSetVoxelSet(int sizeX, int sizeY, int sizeZ)
BitSetVoxelSet(VoxelSet other)
-
Method Summary
Modifier and TypeMethodDescription(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)
protected int
getIndex(int x, int y, int z)
int
getMax(Direction.Axis axis)
int
getMin(Direction.Axis axis)
private boolean
isColumnFull(int int2, int int3, int int4, int int5)
boolean
isEmpty()
private boolean
method_31938(int int2, int int3, int int4, int int5, int int6)
static BitSetVoxelSet
method_31939(int sizeX, int sizeY, int sizeZ, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
private void
method_31940(int x, int y, int z, boolean bool)
protected static void
method_31941(VoxelSet voxelSet, VoxelSet.PositionBiConsumer positionBiConsumer, boolean bool)
private void
method_31942(int int2, int int3, int int4, int int5)
void
set(int x, int y, int z)
Methods inherited from class net.minecraft.util.shape.VoxelSet
contains, forEachBox, forEachDirection, forEachEdge, getEndingAxisCoord, getSize, getXSize, getYSize, getZSize, inBoundsAndContains, inBoundsAndContains, method_35592
-
Field Details
-
storage
- Mappings:
Namespace Name Mixin selector official d
Ldnd;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
Ldnd;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
Ldnd;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
Ldnd;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
Ldnd;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
Ldnd;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
Ldnd;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>
Ldnj;<init>(III)V
intermediary <init>
Lnet/minecraft/class_251;<init>(III)V
named <init>
Lnet/minecraft/util/shape/VoxelSet;<init>(III)V
-
BitSetVoxelSet
- Mappings:
Namespace Name Mixin selector official <init>
Ldnd;<init>(Ldnj;)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
-
method_31939
public static BitSetVoxelSet method_31939(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
Ldnd;a(IIIIIIIII)Ldnd;
intermediary method_31939
Lnet/minecraft/class_244;method_31939(IIIIIIIII)Lnet/minecraft/class_244;
named method_31939
Lnet/minecraft/util/shape/BitSetVoxelSet;method_31939(IIIIIIIII)Lnet/minecraft/util/shape/BitSetVoxelSet;
-
getIndex
protected int getIndex(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official a
Ldnd;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) -
method_31940
private void method_31940(int x, int y, int z, boolean bool)- Mappings:
Namespace Name Mixin selector official a
Ldnd;a(IIIZ)V
intermediary method_31940
Lnet/minecraft/class_244;method_31940(IIIZ)V
named method_31940
Lnet/minecraft/util/shape/BitSetVoxelSet;method_31940(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 official a
Ldnj;a(Lgl$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
- Specified by:
getMax
in classVoxelSet
- Mappings:
Namespace Name Mixin selector official b
Ldnj;b(Lgl$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
Ldnd;a(Ldnj;Ldnj;Ldnm;Ldnm;Ldnm;Ldne;)Ldnd;
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;
-
method_31941
protected static void method_31941(VoxelSet voxelSet, VoxelSet.PositionBiConsumer positionBiConsumer, boolean bool)- Mappings:
Namespace Name Mixin selector official a
Ldnd;a(Ldnj;Ldnj$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 method_31941
Lnet/minecraft/util/shape/BitSetVoxelSet;method_31941(Lnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/shape/VoxelSet$PositionBiConsumer;Z)V
-
isColumnFull
private boolean isColumnFull(int int2, int int3, int int4, int int5)- Mappings:
Namespace Name Mixin selector official a
Ldnd;a(IIII)Z
intermediary method_1059
Lnet/minecraft/class_244;method_1059(IIII)Z
named isColumnFull
Lnet/minecraft/util/shape/BitSetVoxelSet;isColumnFull(IIII)Z
-
method_31938
private boolean method_31938(int int2, int int3, int int4, int int5, int int6)- Mappings:
Namespace Name Mixin selector official a
Ldnd;a(IIIII)Z
intermediary method_31938
Lnet/minecraft/class_244;method_31938(IIIII)Z
named method_31938
Lnet/minecraft/util/shape/BitSetVoxelSet;method_31938(IIIII)Z
-
method_31942
private void method_31942(int int2, int int3, int int4, int int5)- Mappings:
Namespace Name Mixin selector official b
Ldnd;b(IIII)V
intermediary method_31942
Lnet/minecraft/class_244;method_31942(IIII)V
named method_31942
Lnet/minecraft/util/shape/BitSetVoxelSet;method_31942(IIII)V
-