Uses of Enum Class
net.minecraft.item.ArmorItem.Type
Packages that use ArmorItem.Type
-
Uses of ArmorItem.Type in net.minecraft.item
Fields in net.minecraft.item declared as ArmorItem.TypeFields in net.minecraft.item with type parameters of type ArmorItem.TypeModifier and TypeFieldDescriptionprivate static final EnumMap<ArmorItem.Type,Integer> ArmorMaterials.BASE_DURABILITYprivate static final EnumMap<ArmorItem.Type,UUID> ArmorItem.MODIFIERSprivate final EnumMap<ArmorItem.Type,Integer> ArmorMaterials.protectionAmountsMethods in net.minecraft.item that return ArmorItem.TypeModifier and TypeMethodDescriptionArmorItem.getType()static ArmorItem.TypeReturns the enum constant of this class with the specified name.static ArmorItem.Type[]ArmorItem.Type.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.item with parameters of type ArmorItem.TypeModifier and TypeMethodDescriptionintArmorMaterial.getDurability(ArmorItem.Type type) Returns the total amount of durability points anArmorItemusing thisArmorMaterialhas.intArmorMaterials.getDurability(ArmorItem.Type type) Returns the total amount of durability points anArmorItemusing thisArmorMaterialhas.intArmorMaterial.getProtection(ArmorItem.Type type) Returns the amount of armor protection points offered by anArmorItemusing thisArmorMaterialwhile it is worn by a player.intArmorMaterials.getProtection(ArmorItem.Type type) Returns the amount of armor protection points offered by anArmorItemusing thisArmorMaterialwhile it is worn by a player.Constructors in net.minecraft.item with parameters of type ArmorItem.TypeModifierConstructorDescriptionArmorItem(ArmorMaterial material, ArmorItem.Type type, Item.Settings settings) DyeableArmorItem(ArmorMaterial material, ArmorItem.Type type, Item.Settings settings) Constructor parameters in net.minecraft.item with type arguments of type ArmorItem.TypeModifierConstructorDescriptionprivateArmorMaterials(String name, int durabilityMultiplier, EnumMap<ArmorItem.Type, Integer> protectionAmounts, int enchantability, SoundEvent equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredientSupplier)