Class ArmorInfo
java.lang.Object
com.riverstone.unknown303.errorlib.api.helpers.tier.ArmorInfo
-
Constructor Summary
ConstructorsConstructorDescriptionArmorInfo(int durabilityMultiplier, int[] protection, float toughness, int enchantability) -
Method Summary
Modifier and TypeMethodDescriptionequipSound(net.minecraft.sounds.SoundEvent equipSound) intintnet.minecraftforge.common.util.Lazy<net.minecraft.sounds.SoundEvent>floatint[]Supplier<net.minecraft.world.item.crafting.Ingredient>floatknockbackResistance(float knockbackResistance) repairIngredient(net.minecraft.world.level.ItemLike repairIngredient)
-
Constructor Details
-
ArmorInfo
public ArmorInfo(int durabilityMultiplier, int[] protection, float toughness, int enchantability)
-
-
Method Details
-
knockbackResistance
-
equipSound
-
repairIngredient
-
getDurabilityMultiplier
public int getDurabilityMultiplier() -
getProtection
public int[] getProtection() -
getEnchantmentValue
public int getEnchantmentValue() -
getEquipSound
public net.minecraftforge.common.util.Lazy<net.minecraft.sounds.SoundEvent> getEquipSound() -
getRepairIngredient
-
getToughness
public float getToughness() -
getKnockbackResistance
public float getKnockbackResistance()
-