VoxelShapeHelper
2024年12月22日小于 1 分钟
VoxelShapeHelper
VoxelShapeHelper封装了对VoxelShape的常见操作。
VoxelShape combine(VoxelShape... shapes)- 合并若干个
VoxelShape:- 传入空数组则等价于
Shapes.empty(); - 只有一个则原样返回第一个元素。
- 传入空数组则等价于
- 合并若干个
VoxelShape exclude(VoxelShape base, VoxelShape... shapes)- 从
base中挖空去shapes的每一个元素。
- 从