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 pAxis) private static DiscreteVoxelShapemakeSlice(DiscreteVoxelShape pShape, Direction.Axis pAxis, int pIndex) Methods inherited from class net.minecraft.world.phys.shapes.VoxelShape
bounds, clip, closestPointTo, collide, collideX, equals, findIndex, forAllBoxes, forAllEdges, get, getFaceShape, isCubeLike, isEmpty, max, max, min, min, move, move, 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 pShape, Direction.Axis pAxis, int pIndex) -
getCoords
- Specified by:
getCoordsin classVoxelShape
-