Class ErrorLibArmorMaterial
java.lang.Object
com.riverstone.unknown303.errorlib.api.helpers.tier.ErrorLibArmorMaterial
- All Implemented Interfaces:
CustomArmorMaterial,net.minecraft.world.item.ArmorMaterial
-
Method Summary
Modifier and TypeMethodDescriptionintgetDefenseForType(net.minecraft.world.item.ArmorItem.Type type) intgetDurabilityForType(net.minecraft.world.item.ArmorItem.Type type) intnet.minecraft.sounds.SoundEventnet.minecraft.resources.ResourceLocationgetId()floatnet.minecraft.world.item.crafting.IngredientfloatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.riverstone.unknown303.errorlib.api.misc.CustomArmorMaterial
getName, getPath
-
Method Details
-
getId
public net.minecraft.resources.ResourceLocation getId()- Specified by:
getIdin interfaceCustomArmorMaterial
-
getDurabilityForType
public int getDurabilityForType(net.minecraft.world.item.ArmorItem.Type type) - Specified by:
getDurabilityForTypein interfacenet.minecraft.world.item.ArmorMaterial
-
getDefenseForType
public int getDefenseForType(net.minecraft.world.item.ArmorItem.Type type) - Specified by:
getDefenseForTypein interfacenet.minecraft.world.item.ArmorMaterial
-
getEnchantmentValue
public int getEnchantmentValue()- Specified by:
getEnchantmentValuein interfacenet.minecraft.world.item.ArmorMaterial
-
getEquipSound
public net.minecraft.sounds.SoundEvent getEquipSound()- Specified by:
getEquipSoundin interfacenet.minecraft.world.item.ArmorMaterial
-
getRepairIngredient
public net.minecraft.world.item.crafting.Ingredient getRepairIngredient()- Specified by:
getRepairIngredientin interfacenet.minecraft.world.item.ArmorMaterial
-
getToughness
public float getToughness()- Specified by:
getToughnessin interfacenet.minecraft.world.item.ArmorMaterial
-
getKnockbackResistance
public float getKnockbackResistance()- Specified by:
getKnockbackResistancein interfacenet.minecraft.world.item.ArmorMaterial
-