public class UArmorMaterial
extends java.lang.Object
implements net.minecraft.item.IArmorMaterial
Constructor and Description |
---|
UArmorMaterial(int[] durability,
int[] armorPoints,
int enchantability,
net.minecraft.util.SoundEvent soundevent,
float toughness,
java.util.function.Supplier<net.minecraft.item.crafting.Ingredient> ingredient) |
Modifier and Type | Method and Description |
---|---|
int |
getDamageReductionAmount(net.minecraft.inventory.EquipmentSlotType slot) |
int |
getDurability(net.minecraft.inventory.EquipmentSlotType slot) |
int |
getEnchantability() |
java.lang.String |
getName() |
net.minecraft.item.crafting.Ingredient |
getRepairMaterial() |
net.minecraft.util.SoundEvent |
getSoundEvent() |
float |
getToughness() |
public UArmorMaterial(int[] durability, int[] armorPoints, int enchantability, net.minecraft.util.SoundEvent soundevent, float toughness, java.util.function.Supplier<net.minecraft.item.crafting.Ingredient> ingredient)
public int getDurability(net.minecraft.inventory.EquipmentSlotType slot)
getDurability
in interface net.minecraft.item.IArmorMaterial
public int getDamageReductionAmount(net.minecraft.inventory.EquipmentSlotType slot)
getDamageReductionAmount
in interface net.minecraft.item.IArmorMaterial
public int getEnchantability()
getEnchantability
in interface net.minecraft.item.IArmorMaterial
public net.minecraft.util.SoundEvent getSoundEvent()
getSoundEvent
in interface net.minecraft.item.IArmorMaterial
public net.minecraft.item.crafting.Ingredient getRepairMaterial()
getRepairMaterial
in interface net.minecraft.item.IArmorMaterial
public float getToughness()
getToughness
in interface net.minecraft.item.IArmorMaterial
public java.lang.String getName()
getName
in interface net.minecraft.item.IArmorMaterial