Package net.minecraft.world.phys.shapes
Class SliceShape
java.lang.Object
net.minecraft.world.phys.shapes.VoxelShape
net.minecraft.world.phys.shapes.SliceShape
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Direction.Axisprivate final VoxelShapeprivate static final it.unimi.dsi.fastutil.doubles.DoubleListFields inherited from class net.minecraft.world.phys.shapes.VoxelShape
shape -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionit.unimi.dsi.fastutil.doubles.DoubleListgetCoords(Direction.Axis axis) private static DiscreteVoxelShapemakeSlice(DiscreteVoxelShape shape, Direction.Axis axis, int index) Methods inherited from class net.minecraft.world.phys.shapes.VoxelShape
bounds, clip, closestPointTo, collide, collideX, findIndex, forAllBoxes, forAllEdges, get, getFaceShape, isEmpty, max, max, min, min, move, optimize, singleEncompassing, toAabbs, toString
-
Field Details
-
delegate
-
axis
-
SLICE_COORDS
private static final it.unimi.dsi.fastutil.doubles.DoubleList SLICE_COORDS
-
-
Constructor Details
-
SliceShape
-
-
Method Details
-
makeSlice
private static DiscreteVoxelShape makeSlice(DiscreteVoxelShape shape, Direction.Axis axis, int index) -
getCoords
- Specified by:
getCoordsin classVoxelShape
-