public class PixelArmorTier
extends java.lang.Object
implements net.minecraft.item.IArmorMaterial
Constructor and Description |
---|
PixelArmorTier(java.lang.String name,
int maxDamageFactor,
int[] damageReductionAmountArray,
int enchantability,
net.minecraft.util.SoundEvent soundEvent,
float toughness,
java.util.function.Supplier<net.minecraft.item.crafting.Ingredient> repairMaterial) |
Modifier and Type | Method and Description |
---|---|
int |
getDefenseForSlot(net.minecraft.inventory.EquipmentSlotType slotIn) |
int |
getDurabilityForSlot(net.minecraft.inventory.EquipmentSlotType slotIn) |
int |
getEnchantmentValue() |
net.minecraft.util.SoundEvent |
getEquipSound() |
float |
getKnockbackResistance() |
java.lang.String |
getName() |
net.minecraft.item.crafting.Ingredient |
getRepairIngredient() |
float |
getToughness() |
public PixelArmorTier(java.lang.String name, int maxDamageFactor, int[] damageReductionAmountArray, int enchantability, net.minecraft.util.SoundEvent soundEvent, float toughness, java.util.function.Supplier<net.minecraft.item.crafting.Ingredient> repairMaterial)
public int getDurabilityForSlot(net.minecraft.inventory.EquipmentSlotType slotIn)
getDurabilityForSlot
in interface net.minecraft.item.IArmorMaterial
public int getDefenseForSlot(net.minecraft.inventory.EquipmentSlotType slotIn)
getDefenseForSlot
in interface net.minecraft.item.IArmorMaterial
public int getEnchantmentValue()
getEnchantmentValue
in interface net.minecraft.item.IArmorMaterial
public net.minecraft.util.SoundEvent getEquipSound()
getEquipSound
in interface net.minecraft.item.IArmorMaterial
public net.minecraft.item.crafting.Ingredient getRepairIngredient()
getRepairIngredient
in interface net.minecraft.item.IArmorMaterial
public java.lang.String getName()
getName
in interface net.minecraft.item.IArmorMaterial
public float getToughness()
getToughness
in interface net.minecraft.item.IArmorMaterial
public float getKnockbackResistance()
getKnockbackResistance
in interface net.minecraft.item.IArmorMaterial