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.Axis
private final VoxelShape
private static final it.unimi.dsi.fastutil.doubles.DoubleList
Fields inherited from class net.minecraft.world.phys.shapes.VoxelShape
shape
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionit.unimi.dsi.fastutil.doubles.DoubleList
getCoords
(Direction.Axis p_83181_) private static DiscreteVoxelShape
makeSlice
(DiscreteVoxelShape pShape, Direction.Axis pAxis, int pIndex) 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 pShape, Direction.Axis pAxis, int pIndex) -
getCoords
- Specified by:
getCoords
in classVoxelShape
-