BlockShapeHelper
2024年6月2日小于 1 分钟
BlockShapeHelper
BlockShapeHelper封装了以方块的像素为单位操作VoxelShape的常见操作。
常用于处理由Block.box(double x1, double y1, double z1, double x2, double y2, double z2)构造的VoxelShape。
VoxelShape rotateX(VoxelShape shape)- 绕X轴顺时针旋转
shape。
- 绕X轴顺时针旋转
VoxelShape rotateY(VoxelShape shape)- 绕Y轴顺时针旋转
shape。
- 绕Y轴顺时针旋转