Package net.minecraft.world.phys.shapes
Class VoxelShape
java.lang.Object
net.minecraft.world.phys.shapes.VoxelShape
- Direct Known Subclasses:
ArrayVoxelShape
,CubeVoxelShape
,SliceShape
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbounds()
private VoxelShape
calculateFace
(Direction p_83295_) closestPointTo
(Vec3 p_166068_) double
collide
(Direction.Axis p_83260_, AABB p_83261_, double p_83262_) protected double
protected int
findIndex
(Direction.Axis p_83250_, double p_83251_) void
forAllBoxes
(Shapes.DoubleLineConsumer p_83287_) void
forAllEdges
(Shapes.DoubleLineConsumer p_83225_) protected double
get
(Direction.Axis p_83257_, int p_83258_) abstract it.unimi.dsi.fastutil.doubles.DoubleList
getCoords
(Direction.Axis p_83249_) getFaceShape
(Direction p_83264_) boolean
isEmpty()
double
max
(Direction.Axis p_83298_) double
max
(Direction.Axis p_83291_, double p_83292_, double p_83293_) double
min
(Direction.Axis p_83289_) double
min
(Direction.Axis p_166079_, double p_166080_, double p_166081_) move
(double p_83217_, double p_83218_, double p_83219_) optimize()
toAabbs()
toString()
-
Field Details
-
shape
-
faces
-
-
Constructor Details
-
VoxelShape
-
-
Method Details