public final class CroppedVoxelSet extends VoxelSet
VoxelSet.PositionBiConsumer, VoxelSet.PositionConsumer
Modifier and Type | Field and Description |
---|---|
private VoxelSet |
parent |
private int |
xMax |
private int |
xMin |
private int |
yMax |
private int |
yMin |
private int |
zMax |
private int |
zMin |
Modifier | Constructor and Description |
---|---|
protected |
CroppedVoxelSet(VoxelSet parent,
int xMin,
int yMin,
int zMin,
int xMax,
int yMax,
int zMax) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y,
int z) |
int |
getMax(Direction.Axis axis) |
int |
getMin(Direction.Axis axis) |
void |
set(int x,
int y,
int z,
boolean resize,
boolean included) |
contains, forEachBox, forEachDirection, forEachEdge, getEndingAxisCoord, getSize, getXSize, getYSize, getZSize, inBoundsAndContains, inBoundsAndContains, isColumnFull, isEmpty, isRectangleFull, setColumn
private final VoxelSet parent
private final int xMin
private final int yMin
private final int zMin
private final int xMax
private final int yMax
private final int zMax
protected CroppedVoxelSet(VoxelSet parent, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax)
public void set(int x, int y, int z, boolean resize, boolean included)
public int getMin(Direction.Axis axis)
public int getMax(Direction.Axis axis)