Package net.minecraft.util.shape
Class BitSetVoxelSet
java.lang.Object
net.minecraft.util.shape.VoxelSet
net.minecraft.util.shape.BitSetVoxelSet
public final class BitSetVoxelSet extends VoxelSet
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.shape.VoxelSet
VoxelSet.PositionBiConsumer, VoxelSet.PositionConsumer -
Field Summary
-
Constructor Summary
Constructors Constructor Description BitSetVoxelSet(int xSize, int ySize, int zSize)BitSetVoxelSet(VoxelSet other) -
Method Summary
Modifier and Type Method Description (package private) static BitSetVoxelSetcombine(VoxelSet first, VoxelSet second, PairList xPoints, PairList yPoints, PairList zPoints, BooleanBiFunction function)booleancontains(int x, int y, int z)protected intgetIndex(int x, int y, int z)intgetMax(Direction.Axis axis)intgetMin(Direction.Axis axis)private booleanisColumnFull(int int2, int int3, int int4, int int5)booleanisEmpty()private booleanmethod_31938(int int2, int int3, int int4, int int5, int int6)static BitSetVoxelSetmethod_31939(int int2, int int3, int int4, int int5, int int6, int int7, int int8, int int9, int int10)private voidmethod_31940(int int2, int int3, int int4, boolean bool)protected static voidmethod_31941(VoxelSet voxelSet, VoxelSet.PositionBiConsumer positionBiConsumer, boolean bool)private voidmethod_31942(int int2, int int3, int int4, int int5)voidset(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
-
Field Details
-
storage
-
xMin
private int xMin -
yMin
private int yMin -
zMin
private int zMin -
xMax
private int xMax -
yMax
private int yMax -
zMax
private int zMax
-
-
Constructor Details
-
BitSetVoxelSet
public BitSetVoxelSet(int xSize, int ySize, int zSize) -
BitSetVoxelSet
-
-
Method Details
-
method_31939
public static BitSetVoxelSet method_31939(int int2, int int3, int int4, int int5, int int6, int int7, int int8, int int9, int int10) -
getIndex
protected int getIndex(int x, int y, int z) -
contains
public boolean contains(int x, int y, int z) -
method_31940
private void method_31940(int int2, int int3, int int4, boolean bool) -
set
public void set(int x, int y, int z) -
isEmpty
public boolean isEmpty() -
getMin
-
getMax
-
combine
static BitSetVoxelSet combine(VoxelSet first, VoxelSet second, PairList xPoints, PairList yPoints, PairList zPoints, BooleanBiFunction function) -
method_31941
protected static void method_31941(VoxelSet voxelSet, VoxelSet.PositionBiConsumer positionBiConsumer, boolean bool) -
isColumnFull
private boolean isColumnFull(int int2, int int3, int int4, int int5) -
method_31938
private boolean method_31938(int int2, int int3, int int4, int int5, int int6) -
method_31942
private void method_31942(int int2, int int3, int int4, int int5)
-