public class SlicedVoxelShape extends VoxelShape
Modifier and Type | Field and Description |
---|---|
private Direction.Axis |
axis |
private static it.unimi.dsi.fastutil.doubles.DoubleList |
POINTS |
private VoxelShape |
shape |
voxels
Constructor and Description |
---|
SlicedVoxelShape(VoxelShape shape,
Direction.Axis axis,
int sliceWidth) |
Modifier and Type | Method and Description |
---|---|
private static VoxelSet |
createVoxelSet(VoxelSet voxelSet,
Direction.Axis axis,
int sliceWidth) |
protected it.unimi.dsi.fastutil.doubles.DoubleList |
getPointPositions(Direction.Axis axis) |
calculateMaxDistance, calculateMaxDistance, contains, forEachBox, forEachEdge, getBoundingBox, getBoundingBoxes, getCoordIndex, getEndingCoord, getFace, getMax, getMin, getPointPosition, isEmpty, offset, raycast, simplify, toString
private static final it.unimi.dsi.fastutil.doubles.DoubleList POINTS
private final VoxelShape shape
private final Direction.Axis axis
public SlicedVoxelShape(VoxelShape shape, Direction.Axis axis, int sliceWidth)
private static VoxelSet createVoxelSet(VoxelSet voxelSet, Direction.Axis axis, int sliceWidth)
protected it.unimi.dsi.fastutil.doubles.DoubleList getPointPositions(Direction.Axis axis)
getPointPositions
in class VoxelShape