Minecraft Fabric 教程 #9 添加盔甲
首发于 Enaium的个人博客 创建一个盔甲类 public class EndArmorMaterials implements ArmorMaterial { [...] } 复制一下内容 private static final int[] BASE_DURABILITY = {13, 15, 16, 11}; private final String name; private final int durabilityMultiplier; private final int[] protectionAmounts; private final int enchantability; private final SoundEvent equipSound; private final float toughness; private final Lazy<Ingredient> repairIngredientSupplier; public EndArmorMaterials(String name, int durabilityMultiplier, int[] armorValueArr, int enchantability, SoundEvent soundEvent, float toughness, Supplier<Ingredient>