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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbounds()private VoxelShapecalculateFace(Direction p_83295_)closestPointTo(Vec3 p_166068_)doublecollide(Direction.Axis p_83260_, AABB p_83261_, double p_83262_)protected doubleprotected intfindIndex(Direction.Axis p_83250_, double p_83251_)voidforAllBoxes(Shapes.DoubleLineConsumer p_83287_)voidforAllEdges(Shapes.DoubleLineConsumer p_83225_)protected doubleget(Direction.Axis p_83257_, int p_83258_)protected abstract it.unimi.dsi.fastutil.doubles.DoubleListgetCoords(Direction.Axis p_83249_)getFaceShape(Direction p_83264_)booleanisEmpty()doublemax(Direction.Axis p_83298_)doublemax(Direction.Axis p_83291_, double p_83292_, double p_83293_)doublemin(Direction.Axis p_83289_)doublemin(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
VoxelShape(DiscreteVoxelShape p_83214_)
-
-
Method Details