Chisel
雕刻工具,用于在可雕刻方块上循环切换纹理变体。
基本属性
| 属性 | 值 |
|---|---|
| 父类 | Item (implements IChiselItem) |
| 3D 渲染 | isFull3D = true |
| 可损坏 | Configurations.allowChiselDamage |
雕刻模式
ItemChisel.ChiselType 枚举定义雕刻模式。
功能接口
实现 IChiselItem 接口:
canOpenGui- 始终返回 truecanChisel- 始终返回 trueonChisel- 消耗耐久度(如果 allowChiselDamage 启用)
使用方式
- 右键手持雕刻工具 - 打开 Chisel GUI 选择变体
- 对可雕刻方块右键 - 循环切换到下一个纹理变体
- 支持模式切换 - hasModes() 支持工具模式
耐久消耗
onChisel返回 true 时消耗 1 点耐久- 耐久耗尽后物品消失
- 由 Configurations.allowChiselDamage 控制是否启用
属性加成
getAttributeModifiers- 挂载雕刻速度属性修正器hitEntity- 攻击时消耗耐久
工具变体
| 变体 | 描述 |
|---|---|
| chisel | 基础雕刻工具 |
| diamondChisel | 钻石雕刻工具 |
| obsidianChisel | 黑曜石雕刻工具 |
| netherStarChisel | 下界之星雕刻工具 |