Package net.minecraft.util.math.shapes
Class BitSetVoxelShapePart
- java.lang.Object
-
- net.minecraft.util.math.shapes.VoxelShapePart
-
- net.minecraft.util.math.shapes.BitSetVoxelShapePart
-
public final class BitSetVoxelShapePart extends VoxelShapePart
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.util.math.shapes.VoxelShapePart
VoxelShapePart.IFaceConsumer, VoxelShapePart.ILineConsumer
-
-
Constructor Summary
Constructors Constructor Description BitSetVoxelShapePart(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
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
-
-
-
-
Constructor Detail
-
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
public BitSetVoxelShapePart(VoxelShapePart p_i47692_1_)
-
-
Method Detail
-
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
public int firstFull(Direction.Axis p_199623_1_)
- Specified by:
firstFull
in classVoxelShapePart
-
lastFull
public int lastFull(Direction.Axis p_199624_1_)
- 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_)
-
-