public final class BitSetVoxelShapePart extends VoxelShapePart
VoxelShapePart.IFaceConsumer, VoxelShapePart.ILineConsumer
Modifier and Type | Field and Description |
---|---|
private java.util.BitSet |
bitSet |
private int |
endX |
private int |
endY |
private int |
endZ |
private int |
startX |
private int |
startY |
private int |
startZ |
xSize, ySize, zSize
Constructor and Description |
---|
BitSetVoxelShapePart(int xSizeIn,
int ySizeIn,
int zSizeIn) |
BitSetVoxelShapePart(int xSizeIn,
int ySizeIn,
int zSizeIn,
int minX,
int minY,
int minZ,
int maxX,
int maxY,
int maxZ) |
BitSetVoxelShapePart(VoxelShapePart shapePart) |
Modifier and Type | Method and Description |
---|---|
(package private) static BitSetVoxelShapePart |
func_197852_a(VoxelShapePart first,
VoxelShapePart second,
IDoubleListMerger xMerger,
IDoubleListMerger yMerger,
IDoubleListMerger zMerger,
IBooleanFunction op) |
int |
getEnd(Direction.Axis axis) |
protected int |
getIndex(int x,
int y,
int z) |
int |
getStart(Direction.Axis axis) |
boolean |
isEmpty() |
boolean |
isFilled(int x,
int y,
int z) |
protected boolean |
isZAxisLineFull(int fromZ,
int toZ,
int x,
int y) |
void |
setFilled(int x,
int y,
int z,
boolean expandBounds,
boolean filled) |
protected void |
setZAxisLine(int fromZ,
int toZ,
int x,
int y,
boolean filled) |
contains, containsWithRotation, firstFilled, forEachBox, forEachEdge, forEachFace, getSize, getXSize, getYSize, getZSize, isFilledWithRotation, isXZRectangleFull, lastFilled
private final java.util.BitSet bitSet
private int startX
private int startY
private int startZ
private int endX
private int endY
private int endZ
public BitSetVoxelShapePart(int xSizeIn, int ySizeIn, int zSizeIn)
public BitSetVoxelShapePart(int xSizeIn, int ySizeIn, int zSizeIn, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
public BitSetVoxelShapePart(VoxelShapePart shapePart)
protected int getIndex(int x, int y, int z)
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 boolean isEmpty()
isEmpty
in class VoxelShapePart
public int getStart(Direction.Axis axis)
getStart
in class VoxelShapePart
public int getEnd(Direction.Axis axis)
getEnd
in class VoxelShapePart
protected boolean isZAxisLineFull(int fromZ, int toZ, int x, int y)
isZAxisLineFull
in class VoxelShapePart
protected void setZAxisLine(int fromZ, int toZ, int x, int y, boolean filled)
setZAxisLine
in class VoxelShapePart
static BitSetVoxelShapePart func_197852_a(VoxelShapePart first, VoxelShapePart second, IDoubleListMerger xMerger, IDoubleListMerger yMerger, IDoubleListMerger zMerger, IBooleanFunction op)