Package net.minecraft.util.shape
Class CroppedVoxelSet
java.lang.Object
net.minecraft.util.shape.VoxelSet
net.minecraft.util.shape.CroppedVoxelSet
public final class CroppedVoxelSet 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 Modifier Constructor Description protected
CroppedVoxelSet(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)
-
Method Summary
Modifier and Type Method Description boolean
contains(int x, int y, int z)
int
getMax(Direction.Axis axis)
int
getMin(Direction.Axis axis)
private int
method_31944(Direction.Axis axis, int int2)
void
set(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, isEmpty
-
Field Details
-
parent
-
xMin
private final int xMin -
yMin
private final int yMin -
zMin
private final int zMin -
xMax
private final int xMax -
yMax
private final int yMax -
zMax
private final int zMax
-
-
Constructor Details
-
CroppedVoxelSet
protected CroppedVoxelSet(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)
-
-
Method Details