Tinker Armor

基本信息

属性 值
类名 gmail.Lance5057.items.TinkerArmor
父类 net.minecraft.item.ItemArmor
注册状态 未注册(TinkersDefense.preInit 中 new TinkerArmor(...) 行被注释)
静态字段 public static Item item_TinkerArmor;(保持 null)

功能

本应是 Tinkers’ Defense 的护甲物品,结构上调用 ItemArmor(ArmorMaterial, renderIndex, armorType) 三参数构造(若启用,按预制件使用 ArmorMaterial.IRON、renderIndex=4、armorType=1)。客户端模型由 ClientProxy.getArmorModel(0)(armorType 1 / 3)或 getArmorModel(1) 返回 ModelTinkerArmor。

实际运行时该物品不会被实例化或注册,因此游戏中不可得;类定义保留用于未来扩展。

使用方式

源码无 onArmorTick 或属性修饰器重写。未注册的物品,因此没有"使用方式"。

数值

属性 值
armorType 1(基于被注释的预制件构造)
renderIndex 4
armorMaterial ArmorMaterial.IRON(基于被注释的预制件构造)
纹理 tinkersdefense:textures/armor/TinkerArmor.png(layer 1/2)
模型 ModelTinkerArmor(ModelBiped,64×64,Techne 模板)
注册状态 未注册

耐久与消耗

项目 值
最大耐久 取决于 ArmorMaterial.IRON(未注册无意义)
每次使用消耗 不适用
使用后是否消失 否

相关条目