Package net.minecraft.util.math.shapes
Class PartSplitVoxelShape
- java.lang.Object
-
- net.minecraft.util.math.shapes.VoxelShapePart
-
- net.minecraft.util.math.shapes.PartSplitVoxelShape
-
public final class PartSplitVoxelShape extends VoxelShapePart
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.util.math.shapes.VoxelShapePart
VoxelShapePart.IFaceConsumer, VoxelShapePart.ILineConsumer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PartSplitVoxelShape(VoxelShapePart p_i47681_1_, int p_i47681_2_, int p_i47681_3_, int p_i47681_4_, int p_i47681_5_, int p_i47681_6_, int p_i47681_7_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
firstFull(Direction.Axis p_199623_1_)
boolean
isFull(int p_197835_1_, int p_197835_2_, int p_197835_3_)
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_)
-
Methods inherited from class net.minecraft.util.math.shapes.VoxelShapePart
forAllBoxes, forAllEdges, forAllFaces, getSize, getXSize, getYSize, getZSize, isEmpty, isFull, isFullWide, isFullWide, isXZRectangleFull, isZStripFull, lastFull, setZStrip
-
-
-
-
Field Detail
-
parent
private final VoxelShapePart parent
-
startX
private final int startX
-
startY
private final int startY
-
startZ
private final int startZ
-
endX
private final int endX
-
endY
private final int endY
-
endZ
private final int endZ
-
-
Constructor Detail
-
PartSplitVoxelShape
protected PartSplitVoxelShape(VoxelShapePart p_i47681_1_, int p_i47681_2_, int p_i47681_3_, int p_i47681_4_, int p_i47681_5_, int p_i47681_6_, int p_i47681_7_)
-
-
Method Detail
-
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
-
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
-
-