类 ModArmorMaterial.SimpleArmorMaterial

java.lang.Object
committee.nova.mods.avaritia.init.registry.ModArmorMaterial.SimpleArmorMaterial
所有已实现的接口:
net.minecraft.world.item.ArmorMaterial
封闭类:
ModArmorMaterial

public static class ModArmorMaterial.SimpleArmorMaterial extends Object implements net.minecraft.world.item.ArmorMaterial
  • 构造器详细资料

    • SimpleArmorMaterial

      public SimpleArmorMaterial(String name, int durabilityMultiplier, EnumMap<net.minecraft.world.item.ArmorItem.Type,Integer> protectionFunctionForType, int enchantmentValue, net.minecraft.sounds.SoundEvent sound, float toughness, float knockbackResistance, Supplier<net.minecraft.world.item.crafting.Ingredient> repairIngredient)
  • 方法详细资料

    • getDurabilityForType

      public int getDurabilityForType(@NotNull net.minecraft.world.item.ArmorItem.Type slot)
      指定者:
      getDurabilityForType 在接口中 net.minecraft.world.item.ArmorMaterial
    • getDefenseForType

      public int getDefenseForType(@NotNull net.minecraft.world.item.ArmorItem.Type slot)
      指定者:
      getDefenseForType 在接口中 net.minecraft.world.item.ArmorMaterial
    • getEnchantmentValue

      public int getEnchantmentValue()
      指定者:
      getEnchantmentValue 在接口中 net.minecraft.world.item.ArmorMaterial
    • getEquipSound

      @NotNull public @NotNull net.minecraft.sounds.SoundEvent getEquipSound()
      指定者:
      getEquipSound 在接口中 net.minecraft.world.item.ArmorMaterial
    • getRepairIngredient

      @NotNull public @NotNull net.minecraft.world.item.crafting.Ingredient getRepairIngredient()
      指定者:
      getRepairIngredient 在接口中 net.minecraft.world.item.ArmorMaterial
    • getName

      @NotNull public @NotNull String getName()
      指定者:
      getName 在接口中 net.minecraft.world.item.ArmorMaterial
    • getToughness

      public float getToughness()
      指定者:
      getToughness 在接口中 net.minecraft.world.item.ArmorMaterial
    • getKnockbackResistance

      public float getKnockbackResistance()
      指定者:
      getKnockbackResistance 在接口中 net.minecraft.world.item.ArmorMaterial