Uses of Enum Class
net.minecraft.item.ArmorItem.Type
-
Uses of ArmorItem.Type in net.minecraft.item
Modifier 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
Modifier 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.Modifier and TypeMethodDescriptionint
ArmorMaterial.getDurability
(ArmorItem.Type type) int
ArmorMaterials.getDurability
(ArmorItem.Type type) int
ArmorMaterial.getProtection
(ArmorItem.Type type) int
ArmorMaterials.getProtection
(ArmorItem.Type type) ModifierConstructorDescriptionArmorItem
(ArmorMaterial material, ArmorItem.Type type, Item.Settings settings) DyeableArmorItem
(ArmorMaterial material, ArmorItem.Type type, Item.Settings settings) ModifierConstructorDescriptionprivate
ArmorMaterials
(String name, int durabilityMultiplier, EnumMap<ArmorItem.Type, Integer> protectionAmounts, int enchantability, SoundEvent equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredientSupplier)