Uses of Enum Class
net.minecraft.item.equipment.EquipmentType
Packages that use EquipmentType
-
Uses of EquipmentType in net.minecraft.item
Methods in net.minecraft.item with parameters of type EquipmentTypeModifier and TypeMethodDescriptionItem.Settings.armor
(ArmorMaterial material, EquipmentType type) -
Uses of EquipmentType in net.minecraft.item.equipment
Fields in net.minecraft.item.equipment with type parameters of type EquipmentTypeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EquipmentType> EquipmentType.CODEC
private final Map
<EquipmentType, Integer> ArmorMaterial.defense
The field for thedefense
record component.Methods in net.minecraft.item.equipment that return EquipmentTypeModifier and TypeMethodDescriptionstatic EquipmentType
Returns the enum constant of this class with the specified name.static EquipmentType[]
EquipmentType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.item.equipment that return types with arguments of type EquipmentTypeModifier and TypeMethodDescriptionprivate static Map
<EquipmentType, Integer> ArmorMaterials.createDefenseMap
(int bootsDefense, int leggingsDefense, int chestplateDefense, int helmetDefense, int bodyDefense) ArmorMaterial.defense()
Returns the value of thedefense
record component.Methods in net.minecraft.item.equipment with parameters of type EquipmentTypeModifier and TypeMethodDescriptionArmorMaterial.createAttributeModifiers
(EquipmentType equipmentType) Constructor parameters in net.minecraft.item.equipment with type arguments of type EquipmentTypeModifierConstructorDescriptionArmorMaterial
(int int2, Map<EquipmentType, Integer> map, int int3, RegistryEntry<SoundEvent> registryEntry, float float2, float float3, TagKey<Item> tagKey, RegistryKey<EquipmentAsset> registryKey)