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 protectedCroppedVoxelSet(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax) -
Method Summary
Modifier and Type Method Description booleancontains(int x, int y, int z)intgetMax(Direction.Axis axis)intgetMin(Direction.Axis axis)voidset(int x, int y, int z, boolean resize, boolean included)Methods inherited from class net.minecraft.util.shape.VoxelSet
contains, forEachBox, forEachDirection, forEachEdge, getEndingAxisCoord, getSize, getXSize, getYSize, getZSize, inBoundsAndContains, inBoundsAndContains, isColumnFull, isEmpty, isRectangleFull, setColumn
-
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