类 VoxelShape
java.lang.Object
net.minecraft.world.phys.shapes.VoxelShape
- 直接已知子类:
ArrayVoxelShape
,CubeVoxelShape
,SliceShape
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明bounds()
private VoxelShape
calculateFace
(Direction pSide) closestPointTo
(Vec3 pPoint) double
collide
(Direction.Axis pMovementAxis, AABB pCollisionBox, double pDesiredOffset) protected double
protected int
findIndex
(Direction.Axis pAxis, double pPosition) void
forAllBoxes
(Shapes.DoubleLineConsumer pAction) void
forAllEdges
(Shapes.DoubleLineConsumer pAction) protected double
get
(Direction.Axis pAxis, int pIndex) protected abstract it.unimi.dsi.fastutil.doubles.DoubleList
getCoords
(Direction.Axis pAxis) getFaceShape
(Direction pSide) boolean
isEmpty()
double
max
(Direction.Axis pAxis) double
max
(Direction.Axis pAxis, double pPrimaryPosition, double pSecondaryPosition) double
min
(Direction.Axis pAxis) double
min
(Direction.Axis pAxis, double pPrimaryPosition, double pSecondaryPosition) move
(double pXOffset, double pYOffset, double pZOffset) optimize()
toAabbs()
toString()
-
字段详细资料
-
shape
-
faces
-
-
构造器详细资料
-
VoxelShape
VoxelShape(DiscreteVoxelShape pShape)
-
-
方法详细资料