Uses of Enum Class
net.minecraft.component.type.AttributeModifierSlot
Packages that use AttributeModifierSlot
Package
Description
-
Uses of AttributeModifierSlot in net.minecraft.component.type
Fields in net.minecraft.component.type declared as AttributeModifierSlotModifier and TypeFieldDescriptionprivate final AttributeModifierSlot
AttributeModifiersComponent.Entry.slot
The field for theslot
record component.Fields in net.minecraft.component.type with type parameters of type AttributeModifierSlotModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AttributeModifierSlot> AttributeModifierSlot.CODEC
static final IntFunction
<AttributeModifierSlot> AttributeModifierSlot.ID_TO_VALUE
static final PacketCodec
<ByteBuf, AttributeModifierSlot> AttributeModifierSlot.PACKET_CODEC
Methods in net.minecraft.component.type that return AttributeModifierSlotModifier and TypeMethodDescriptionstatic AttributeModifierSlot
AttributeModifierSlot.forEquipmentSlot
(EquipmentSlot slot) AttributeModifiersComponent.Entry.slot()
Returns the value of theslot
record component.static AttributeModifierSlot
Returns the enum constant of this class with the specified name.static AttributeModifierSlot[]
AttributeModifierSlot.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.component.type with parameters of type AttributeModifierSlotModifier and TypeMethodDescriptionAttributeModifiersComponent.Builder.add
(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) void
AttributeModifiersComponent.applyModifiers
(AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeConsumer) AttributeModifiersComponent.with
(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) Constructors in net.minecraft.component.type with parameters of type AttributeModifierSlotModifierConstructorDescriptionEntry
(RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier entityAttributeModifier, AttributeModifierSlot attributeModifierSlot) -
Uses of AttributeModifierSlot in net.minecraft.enchantment
Fields in net.minecraft.enchantment with type parameters of type AttributeModifierSlotModifier and TypeFieldDescriptionprivate final List
<AttributeModifierSlot> Enchantment.Definition.slots
The field for theslots
record component.Methods in net.minecraft.enchantment that return types with arguments of type AttributeModifierSlotModifier and TypeMethodDescriptionEnchantment.Definition.slots()
Returns the value of theslots
record component.Methods in net.minecraft.enchantment with parameters of type AttributeModifierSlotModifier and TypeMethodDescriptionstatic void
EnchantmentHelper.applyAttributeModifiers
(ItemStack stack, AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) static Enchantment.Definition
Enchantment.definition
(RegistryEntryList<Item> supportedItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, AttributeModifierSlot[] slots) static Enchantment.Definition
Enchantment.definition
(RegistryEntryList<Item> supportedItems, RegistryEntryList<Item> primaryItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, AttributeModifierSlot[] slots) Constructor parameters in net.minecraft.enchantment with type arguments of type AttributeModifierSlotModifierConstructorDescriptionDefinition
(RegistryEntryList<Item> registryEntryList, Optional<RegistryEntryList<Item>> optional, int int2, int int3, Enchantment.Cost cost, Enchantment.Cost cost2, int int4, List<AttributeModifierSlot> list) -
Uses of AttributeModifierSlot in net.minecraft.item
Methods in net.minecraft.item with parameters of type AttributeModifierSlotModifier and TypeMethodDescriptionvoid
ItemStack.applyAttributeModifier
(AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) -
Uses of AttributeModifierSlot in net.minecraft.loot.function
Fields in net.minecraft.loot.function with type parameters of type AttributeModifierSlotModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<List<AttributeModifierSlot>> SetAttributesLootFunction.Attribute.EQUIPMENT_SLOT_LIST_CODEC
private final List
<AttributeModifierSlot> SetAttributesLootFunction.Attribute.slots
The field for theslots
record component.private final Set
<AttributeModifierSlot> SetAttributesLootFunction.AttributeBuilder.slots
Methods in net.minecraft.loot.function that return types with arguments of type AttributeModifierSlotModifier and TypeMethodDescriptionSetAttributesLootFunction.Attribute.slots()
Returns the value of theslots
record component.Methods in net.minecraft.loot.function with parameters of type AttributeModifierSlotModifier and TypeMethodDescriptionSetAttributesLootFunction.AttributeBuilder.slot
(AttributeModifierSlot slot) Constructor parameters in net.minecraft.loot.function with type arguments of type AttributeModifierSlotModifierConstructorDescription(package private)
Attribute
(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier.Operation operation, LootNumberProvider amount, List<AttributeModifierSlot> list) -
Uses of AttributeModifierSlot in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type AttributeModifierSlotModifier and TypeFieldDescriptionprivate final Optional
<AttributeModifierSlot> AttributeModifiersPredicate.AttributeModifierPredicate.slot
The field for theslot
record component.Methods in net.minecraft.predicate.item that return types with arguments of type AttributeModifierSlot