public final class PartSplitVoxelShape extends VoxelShapePart
VoxelShapePart.IFaceConsumer, VoxelShapePart.ILineConsumer
Modifier and Type | Field and Description |
---|---|
private int |
endX |
private int |
endY |
private int |
endZ |
private VoxelShapePart |
part |
private int |
startX |
private int |
startY |
private int |
startZ |
xSize, ySize, zSize
Modifier | Constructor and Description |
---|---|
protected |
PartSplitVoxelShape(VoxelShapePart partIn,
int startXIn,
int startYIn,
int startZIn,
int endXIn,
int endYIn,
int endZIn) |
Modifier and Type | Method and Description |
---|---|
int |
getEnd(Direction.Axis axis) |
int |
getStart(Direction.Axis axis) |
boolean |
isFilled(int x,
int y,
int z) |
void |
setFilled(int x,
int y,
int z,
boolean expandBounds,
boolean filled) |
contains, containsWithRotation, firstFilled, forEachBox, forEachEdge, forEachFace, getSize, getXSize, getYSize, getZSize, isEmpty, isFilledWithRotation, isXZRectangleFull, isZAxisLineFull, lastFilled, setZAxisLine
private final VoxelShapePart part
private final int startX
private final int startY
private final int startZ
private final int endX
private final int endY
private final int endZ
protected PartSplitVoxelShape(VoxelShapePart partIn, int startXIn, int startYIn, int startZIn, int endXIn, int endYIn, int endZIn)
public boolean isFilled(int x, int y, int z)
isFilled
in class VoxelShapePart
public void setFilled(int x, int y, int z, boolean expandBounds, boolean filled)
setFilled
in class VoxelShapePart
public int getStart(Direction.Axis axis)
getStart
in class VoxelShapePart
public int getEnd(Direction.Axis axis)
getEnd
in class VoxelShapePart