Package net.minecraft.util.shape
Class SlicedVoxelShape
java.lang.Object
net.minecraft.util.shape.VoxelShape
net.minecraft.util.shape.SlicedVoxelShape
public class SlicedVoxelShape extends VoxelShape
-
Field Summary
Fields Modifier and Type Field Description private Direction.Axis
axis
private static DoubleList
POINTS
private VoxelShape
shape
Fields inherited from class net.minecraft.util.shape.VoxelShape
voxels
-
Constructor Summary
Constructors Constructor Description SlicedVoxelShape(VoxelShape shape, Direction.Axis axis, int sliceWidth)
-
Method Summary
Modifier and Type Method Description private static VoxelSet
createVoxelSet(VoxelSet voxelSet, Direction.Axis axis, int sliceWidth)
protected DoubleList
getPointPositions(Direction.Axis axis)
Methods inherited from class net.minecraft.util.shape.VoxelShape
calculateMaxDistance, calculateMaxDistance, forEachBox, forEachEdge, getBoundingBox, getBoundingBoxes, getCoordIndex, getEndingCoord, getFace, getMax, getMin, getPointPosition, isEmpty, offset, raycast, simplify, toString
-
Field Details
-
POINTS
-
shape
-
axis
-
-
Constructor Details
-
SlicedVoxelShape
-
-
Method Details
-
createVoxelSet
-
getPointPositions
- Specified by:
getPointPositions
in classVoxelShape
-