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 AttributeModifierSlotAttributeModifiersComponent.Entry.slotThe field for theslotrecord component.Fields in net.minecraft.component.type with type parameters of type AttributeModifierSlotModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AttributeModifierSlot> AttributeModifierSlot.CODECstatic final IntFunction<AttributeModifierSlot> AttributeModifierSlot.ID_TO_VALUEstatic final PacketCodec<ByteBuf, AttributeModifierSlot> AttributeModifierSlot.PACKET_CODECMethods in net.minecraft.component.type that return AttributeModifierSlotModifier and TypeMethodDescriptionstatic AttributeModifierSlotAttributeModifierSlot.forEquipmentSlot(EquipmentSlot slot) AttributeModifiersComponent.Entry.slot()Returns the value of theslotrecord component.static AttributeModifierSlotReturns 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) voidAttributeModifiersComponent.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.slotsThe field for theslotsrecord component.Methods in net.minecraft.enchantment that return types with arguments of type AttributeModifierSlotModifier and TypeMethodDescriptionEnchantment.Definition.slots()Returns the value of theslotsrecord component.Methods in net.minecraft.enchantment with parameters of type AttributeModifierSlotModifier and TypeMethodDescriptionstatic voidEnchantmentHelper.applyAttributeModifiers(ItemStack stack, AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) static Enchantment.DefinitionEnchantment.definition(RegistryEntryList<Item> supportedItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, AttributeModifierSlot[] slots) static Enchantment.DefinitionEnchantment.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 TypeMethodDescriptionvoidItemStack.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_CODECprivate final List<AttributeModifierSlot> SetAttributesLootFunction.Attribute.slotsThe field for theslotsrecord component.private final Set<AttributeModifierSlot> SetAttributesLootFunction.AttributeBuilder.slotsMethods in net.minecraft.loot.function that return types with arguments of type AttributeModifierSlotModifier and TypeMethodDescriptionSetAttributesLootFunction.Attribute.slots()Returns the value of theslotsrecord 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.slotThe field for theslotrecord component.Methods in net.minecraft.predicate.item that return types with arguments of type AttributeModifierSlot