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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ArmorItem.Type> ArmorItem.Type.CODECprivate final Map<ArmorItem.Type, Integer> ArmorMaterial.defenseThe field for thedefenserecord component.Methods 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 that return types with arguments of type ArmorItem.TypeModifier and TypeMethodDescriptionArmorMaterial.defense()Returns the value of thedefenserecord component.Methods in net.minecraft.item with parameters of type ArmorItem.TypeModifier and TypeMethodDescriptionintArmorMaterial.getProtection(ArmorItem.Type type) Returns the amount of armor protection points offered by anArmorItemusing thisArmorMaterialwhile it is worn by a player.Method parameters in net.minecraft.item with type arguments of type ArmorItem.TypeModifier and TypeMethodDescriptionprivate static RegistryEntry<ArmorMaterial> ArmorMaterials.register(String id, EnumMap<ArmorItem.Type, Integer> defense, int enchantability, RegistryEntry<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient) private static RegistryEntry<ArmorMaterial> ArmorMaterials.register(String id, EnumMap<ArmorItem.Type, Integer> defense, int enchantability, RegistryEntry<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient, List<ArmorMaterial.Layer> layers) Constructors in net.minecraft.item with parameters of type ArmorItem.TypeModifierConstructorDescriptionArmorItem(RegistryEntry<ArmorMaterial> material, ArmorItem.Type type, Item.Settings settings) Constructor parameters in net.minecraft.item with type arguments of type ArmorItem.TypeModifierConstructorDescriptionArmorMaterial(Map<ArmorItem.Type, Integer> map, int int2, RegistryEntry<SoundEvent> registryEntry, Supplier<Ingredient> supplier, List<ArmorMaterial.Layer> list, float float2, float float3)