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.Axisaxisprivate static DoubleListPOINTSprivate VoxelShapeshapeFields 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 VoxelSetcreateVoxelSet(VoxelSet voxelSet, Direction.Axis axis, int sliceWidth)protected DoubleListgetPointPositions(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:
getPointPositionsin classVoxelShape
-