SinoSeries Document 1.0.0+mc1.20.1 Help

BlockShapeHelper

BlockShapeHelper 工具类提供了操作 VoxelShape 的常见工具方法。

  • VoxelShape rotateX(VoxelShape shape) :以X轴顺时针旋转 shape

  • VoxelShape rotateY(VoxelShape shape) :以Y轴顺时针旋转shape

  • VoxelShape or(VoxelShape[] shapes) :封装了 Shapes.or(VoxelShape shape1, VoxelShape shape2)Shapes.or(VoxelShape shape1, VoxelShape... others) ,用于合并若干个 VoxelShape

Last modified: 02 June 2024