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_DURABILITY
private static final EnumMap<ArmorItem.Type,
UUID> ArmorItem.MODIFIERS
private final EnumMap<ArmorItem.Type,
Integer> ArmorMaterials.protectionAmounts
Methods in net.minecraft.item that return ArmorItem.TypeModifier and TypeMethodDescriptionArmorItem.getType()
static ArmorItem.Type
Returns 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 TypeMethodDescriptionint
ArmorMaterial.getDurability
(ArmorItem.Type type) Returns the total amount of durability points anArmorItem
using thisArmorMaterial
has.int
ArmorMaterials.getDurability
(ArmorItem.Type type) Returns the total amount of durability points anArmorItem
using thisArmorMaterial
has.int
ArmorMaterial.getProtection
(ArmorItem.Type type) Returns the amount of armor protection points offered by anArmorItem
using thisArmorMaterial
while it is worn by a player.int
ArmorMaterials.getProtection
(ArmorItem.Type type) Returns the amount of armor protection points offered by anArmorItem
using thisArmorMaterial
while 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.TypeModifierConstructorDescriptionprivate
ArmorMaterials
(String name, int durabilityMultiplier, EnumMap<ArmorItem.Type, Integer> protectionAmounts, int enchantability, SoundEvent equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredientSupplier)