Front Rotation Tool(前面旋转工具)
基本信息
| 属性 | 值 |
|---|---|
| 注册名 | structurelib:frontRotationTool |
| 物品类 | com.gtnewhorizon.structurelib.item.ItemFrontRotationTool |
| 未本地化名称 | structurelib.frontRotationTool |
| 最大堆叠 | 1 |
| 创意模式标签 | StructureLib |
功能
Front Rotation Tool(前面旋转工具)是一种客户端工具,用于旋转多方块结构件的"前面"朝向。当玩家在有效方块上使用(右键点击)此物品时,会触发 AlignmentUtility.handle() 方法,旋转目标方块的对齐方向。
此工具对于正确朝向有方向性前面的结构组件至关重要,使支持旋转的结构能够正确组装。
使用方式
| 使用方式 | 触发条件 | 使用效果 | 条件/限制 |
|---|---|---|---|
| 在有效方块上使用 | onItemUseFirst |
调用 AlignmentUtility.handle(player, world, x, y, z) 旋转目标结构件的正面 |
对不支持对齐旋转的方块无效 |
悬浮提示(客户端)
持有时显示:
Triggers Front Rotation InterfaceRotates only the front panel,(蓝色)which allows structure rotation.(蓝色)