Package net.minecraft.world.phys.shapes
Class SubShape
java.lang.Object
net.minecraft.world.phys.shapes.DiscreteVoxelShape
net.minecraft.world.phys.shapes.SubShape
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShape
DiscreteVoxelShape.IntFaceConsumer, DiscreteVoxelShape.IntLineConsumer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final int
private final DiscreteVoxelShape
private final int
private final int
private final int
Fields inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShape
xSize, ySize, zSize
-
Constructor Summary
ModifierConstructorDescriptionprotected
SubShape
(DiscreteVoxelShape p_83190_, int p_83191_, int p_83192_, int p_83193_, int p_83194_, int p_83195_, int p_83196_) -
Method Summary
Modifier and TypeMethodDescriptionprivate int
clampToShape
(Direction.Axis p_166057_, int p_166058_) void
fill
(int p_166060_, int p_166061_, int p_166062_) int
firstFull
(Direction.Axis p_83204_) boolean
isFull
(int p_83206_, int p_83207_, int p_83208_) int
lastFull
(Direction.Axis p_83210_) Methods inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShape
firstFull, forAllBoxes, forAllEdges, forAllFaces, getSize, getXSize, getYSize, getZSize, isEmpty, isFull, isFullWide, isFullWide, lastFull
-
Field Details
-
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 Details
-
SubShape
protected SubShape(DiscreteVoxelShape p_83190_, int p_83191_, int p_83192_, int p_83193_, int p_83194_, int p_83195_, int p_83196_)
-
-
Method Details
-
isFull
public boolean isFull(int p_83206_, int p_83207_, int p_83208_) - Specified by:
isFull
in classDiscreteVoxelShape
-
fill
public void fill(int p_166060_, int p_166061_, int p_166062_) - Specified by:
fill
in classDiscreteVoxelShape
-
firstFull
- Specified by:
firstFull
in classDiscreteVoxelShape
-
lastFull
- Specified by:
lastFull
in classDiscreteVoxelShape
-
clampToShape
-