Package net.minecraft.util.math.shapes
Class BitSetVoxelShapePart
java.lang.Object
net.minecraft.util.math.shapes.VoxelShapePart
net.minecraft.util.math.shapes.BitSetVoxelShapePart
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.math.shapes.VoxelShapePart
VoxelShapePart.IFaceConsumer, VoxelShapePart.ILineConsumer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BitSet
private int
private int
private int
private int
private int
private int
Fields inherited from class net.minecraft.util.math.shapes.VoxelShapePart
xSize, ySize, zSize
-
Constructor Summary
ConstructorDescriptionBitSetVoxelShapePart
(int p_i47690_1_, int p_i47690_2_, int p_i47690_3_) BitSetVoxelShapePart
(int p_i48183_1_, int p_i48183_2_, int p_i48183_3_, int p_i48183_4_, int p_i48183_5_, int p_i48183_6_, int p_i48183_7_, int p_i48183_8_, int p_i48183_9_) BitSetVoxelShapePart
(VoxelShapePart p_i47692_1_) -
Method Summary
Modifier and TypeMethodDescriptionint
firstFull
(Direction.Axis p_199623_1_) protected int
getIndex
(int p_197848_1_, int p_197848_2_, int p_197848_3_) boolean
isEmpty()
boolean
isFull
(int p_197835_1_, int p_197835_2_, int p_197835_3_) protected boolean
isZStripFull
(int p_197833_1_, int p_197833_2_, int p_197833_3_, int p_197833_4_) (package private) static BitSetVoxelShapePart
join
(VoxelShapePart p_197852_0_, VoxelShapePart p_197852_1_, IDoubleListMerger p_197852_2_, IDoubleListMerger p_197852_3_, IDoubleListMerger p_197852_4_, IBooleanFunction p_197852_5_) int
lastFull
(Direction.Axis p_199624_1_) void
setFull
(int p_199625_1_, int p_199625_2_, int p_199625_3_, boolean p_199625_4_, boolean p_199625_5_) protected void
setZStrip
(int p_197834_1_, int p_197834_2_, int p_197834_3_, int p_197834_4_, boolean p_197834_5_) Methods inherited from class net.minecraft.util.math.shapes.VoxelShapePart
forAllBoxes, forAllEdges, forAllFaces, getSize, getXSize, getYSize, getZSize, isFull, isFullWide, isFullWide, isXZRectangleFull, lastFull
-
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
-
BitSetVoxelShapePart
public BitSetVoxelShapePart(int p_i47690_1_, int p_i47690_2_, int p_i47690_3_) -
BitSetVoxelShapePart
public BitSetVoxelShapePart(int p_i48183_1_, int p_i48183_2_, int p_i48183_3_, int p_i48183_4_, int p_i48183_5_, int p_i48183_6_, int p_i48183_7_, int p_i48183_8_, int p_i48183_9_) -
BitSetVoxelShapePart
-
-
Method Details
-
getIndex
protected int getIndex(int p_197848_1_, int p_197848_2_, int p_197848_3_) -
isFull
public boolean isFull(int p_197835_1_, int p_197835_2_, int p_197835_3_) - Specified by:
isFull
in classVoxelShapePart
-
setFull
public void setFull(int p_199625_1_, int p_199625_2_, int p_199625_3_, boolean p_199625_4_, boolean p_199625_5_) - Specified by:
setFull
in classVoxelShapePart
-
isEmpty
public boolean isEmpty()- Overrides:
isEmpty
in classVoxelShapePart
-
firstFull
- Specified by:
firstFull
in classVoxelShapePart
-
lastFull
- Specified by:
lastFull
in classVoxelShapePart
-
isZStripFull
protected boolean isZStripFull(int p_197833_1_, int p_197833_2_, int p_197833_3_, int p_197833_4_) - Overrides:
isZStripFull
in classVoxelShapePart
-
setZStrip
protected void setZStrip(int p_197834_1_, int p_197834_2_, int p_197834_3_, int p_197834_4_, boolean p_197834_5_) - Overrides:
setZStrip
in classVoxelShapePart
-
join
static BitSetVoxelShapePart join(VoxelShapePart p_197852_0_, VoxelShapePart p_197852_1_, IDoubleListMerger p_197852_2_, IDoubleListMerger p_197852_3_, IDoubleListMerger p_197852_4_, IBooleanFunction p_197852_5_)
-