类 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(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) -
方法概要
修饰符和类型方法说明intgetDefenseForType(@NotNull net.minecraft.world.item.ArmorItem.Type slot) intgetDurabilityForType(@NotNull net.minecraft.world.item.ArmorItem.Type slot) int@NotNull net.minecraft.sounds.SoundEventfloat@NotNull StringgetName()@NotNull net.minecraft.world.item.crafting.Ingredientfloat
-
构造器详细资料
-
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
- 指定者:
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
-