Class PixelArmorTier
java.lang.Object
com.pixelmonmod.pixelmon.items.tools.PixelArmorTier
- All Implemented Interfaces:
net.minecraft.world.item.ArmorMaterial
-
Constructor Summary
ConstructorDescriptionPixelArmorTier
(String name, int maxDamageFactor, int[] damageReductionAmountArray, int enchantability, net.minecraft.sounds.SoundEvent soundEvent, float toughness, Supplier<net.minecraft.world.item.crafting.Ingredient> repairMaterial) -
Method Summary
Modifier and TypeMethodDescriptionint
getDefenseForType
(net.minecraft.world.item.ArmorItem.Type type) int
getDurabilityForType
(net.minecraft.world.item.ArmorItem.Type type) int
net.minecraft.sounds.SoundEvent
float
getName()
net.minecraft.world.item.crafting.Ingredient
float
-
Constructor Details
-
PixelArmorTier
-
-
Method Details
-
getDurabilityForType
public int getDurabilityForType(net.minecraft.world.item.ArmorItem.Type type) - Specified by:
getDurabilityForType
in interfacenet.minecraft.world.item.ArmorMaterial
-
getDefenseForType
public int getDefenseForType(net.minecraft.world.item.ArmorItem.Type type) - Specified by:
getDefenseForType
in interfacenet.minecraft.world.item.ArmorMaterial
-
getEnchantmentValue
public int getEnchantmentValue()- Specified by:
getEnchantmentValue
in interfacenet.minecraft.world.item.ArmorMaterial
-
getEquipSound
public net.minecraft.sounds.SoundEvent getEquipSound()- Specified by:
getEquipSound
in interfacenet.minecraft.world.item.ArmorMaterial
-
getRepairIngredient
public net.minecraft.world.item.crafting.Ingredient getRepairIngredient()- Specified by:
getRepairIngredient
in interfacenet.minecraft.world.item.ArmorMaterial
-
getName
- Specified by:
getName
in interfacenet.minecraft.world.item.ArmorMaterial
-
getToughness
public float getToughness()- Specified by:
getToughness
in interfacenet.minecraft.world.item.ArmorMaterial
-
getKnockbackResistance
public float getKnockbackResistance()- Specified by:
getKnockbackResistance
in interfacenet.minecraft.world.item.ArmorMaterial
-