Uses of Enum Class
net.minecraft.world.entity.EquipmentSlotGroup
Packages that use EquipmentSlotGroup
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of EquipmentSlotGroup in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type EquipmentSlotGroupModifier and TypeFieldDescriptionprivate final Optional<EquipmentSlotGroup> ItemAttributeModifiersPredicate.EntryPredicate.slotThe field for theslotrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type EquipmentSlotGroupModifier and TypeMethodDescriptionItemAttributeModifiersPredicate.EntryPredicate.slot()Returns the value of theslotrecord component. -
Uses of EquipmentSlotGroup in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type EquipmentSlotGroupModifier and TypeFieldDescriptionstatic final IntFunction<EquipmentSlotGroup> EquipmentSlotGroup.BY_IDstatic final com.mojang.serialization.Codec<EquipmentSlotGroup> EquipmentSlotGroup.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, EquipmentSlotGroup> EquipmentSlotGroup.STREAM_CODECMethods in net.minecraft.world.entity that return EquipmentSlotGroupModifier and TypeMethodDescriptionstatic EquipmentSlotGroupEquipmentSlotGroup.bySlot(EquipmentSlot slot) static EquipmentSlotGroupReturns the enum constant of this class with the specified name.static EquipmentSlotGroup[]EquipmentSlotGroup.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of EquipmentSlotGroup in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type EquipmentSlotGroupModifier and TypeMethodDescriptionvoidItemStack.forEachModifier(EquipmentSlotGroup slotGroup, BiConsumer<Holder<Attribute>, AttributeModifier> action) -
Uses of EquipmentSlotGroup in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as EquipmentSlotGroupModifier and TypeFieldDescriptionprivate final EquipmentSlotGroupItemAttributeModifiers.Entry.slotThe field for theslotrecord component.Methods in net.minecraft.world.item.component that return EquipmentSlotGroupModifier and TypeMethodDescriptionItemAttributeModifiers.Entry.slot()Returns the value of theslotrecord component.Methods in net.minecraft.world.item.component with parameters of type EquipmentSlotGroupModifier and TypeMethodDescriptionItemAttributeModifiers.Builder.add(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) voidItemAttributeModifiers.forEach(EquipmentSlotGroup slotGroup, BiConsumer<Holder<Attribute>, AttributeModifier> action) ItemAttributeModifiers.withModifierAdded(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Constructors in net.minecraft.world.item.component with parameters of type EquipmentSlotGroupModifierConstructorDescriptionEntry(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Creates an instance of aEntryrecord class. -
Uses of EquipmentSlotGroup in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment with type parameters of type EquipmentSlotGroupModifier and TypeFieldDescriptionprivate final List<EquipmentSlotGroup> Enchantment.EnchantmentDefinition.slotsThe field for theslotsrecord component.Methods in net.minecraft.world.item.enchantment that return types with arguments of type EquipmentSlotGroupModifier and TypeMethodDescriptionEnchantment.EnchantmentDefinition.slots()Returns the value of theslotsrecord component.Methods in net.minecraft.world.item.enchantment with parameters of type EquipmentSlotGroupModifier and TypeMethodDescriptionEnchantment.definition(HolderSet<Item> supportedItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, EquipmentSlotGroup... slots) Enchantment.definition(HolderSet<Item> supportedItems, HolderSet<Item> primaryItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, EquipmentSlotGroup... slots) static voidEnchantmentHelper.forEachModifier(ItemStack stack, EquipmentSlotGroup slotGroup, BiConsumer<Holder<Attribute>, AttributeModifier> action) Constructor parameters in net.minecraft.world.item.enchantment with type arguments of type EquipmentSlotGroupModifierConstructorDescriptionEnchantmentDefinition(HolderSet<Item> supportedItems, Optional<HolderSet<Item>> primaryItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, List<EquipmentSlotGroup> slots) Creates an instance of aEnchantmentDefinitionrecord class. -
Uses of EquipmentSlotGroup in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type EquipmentSlotGroupModifier and TypeFieldDescriptionprivate final List<EquipmentSlotGroup> SetAttributesFunction.Modifier.slotsThe field for theslotsrecord component.private final Set<EquipmentSlotGroup> SetAttributesFunction.ModifierBuilder.slotsprivate static final com.mojang.serialization.Codec<List<EquipmentSlotGroup>> SetAttributesFunction.Modifier.SLOTS_CODECMethods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type EquipmentSlotGroupModifier and TypeMethodDescriptionSetAttributesFunction.Modifier.slots()Returns the value of theslotsrecord component.Methods in net.minecraft.world.level.storage.loot.functions with parameters of type EquipmentSlotGroupModifier and TypeMethodDescriptionSetAttributesFunction.ModifierBuilder.forSlot(EquipmentSlotGroup slot) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type EquipmentSlotGroupModifierConstructorDescription(package private)Modifier(ResourceLocation id, Holder<Attribute> attribute, AttributeModifier.Operation operation, NumberProvider amount, List<EquipmentSlotGroup> slots) Creates an instance of aModifierrecord class. -
Uses of EquipmentSlotGroup in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type EquipmentSlotGroupModifier and TypeFieldDescriptionprivate @Nullable Set<EquipmentSlotGroup> GatherSkippedAttributeTooltipsEvent.skippedGroupsMethods in net.neoforged.neoforge.client.event that return types with arguments of type EquipmentSlotGroupModifier and TypeMethodDescriptionprotected Set<EquipmentSlotGroup> GatherSkippedAttributeTooltipsEvent.getSkippedGroups()InitializesGatherSkippedAttributeTooltipsEvent.skippedGroupsif necessary, and returns it.Methods in net.neoforged.neoforge.client.event with parameters of type EquipmentSlotGroupModifier and TypeMethodDescriptionbooleanGatherSkippedAttributeTooltipsEvent.isSkipped(EquipmentSlotGroup group) Checks if a given group is skipped or not.voidGatherSkippedAttributeTooltipsEvent.skipGroup(EquipmentSlotGroup group) Marks an entireEquipmentSlotGroupas skipped, preventing all modifiers for that group from showing. -
Uses of EquipmentSlotGroup in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util with parameters of type EquipmentSlotGroupModifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<Holder<Attribute>, AttributeModifier> AttributeUtil.getSortedModifiers(ItemStack stack, EquipmentSlotGroup slot) Returns a sorted, mutableMultimapcontaining all the attribute modifiers on an item stack for the given group. -
Uses of EquipmentSlotGroup in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type EquipmentSlotGroupModifier and TypeMethodDescriptionbooleanItemAttributeModifierEvent.addModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Adds a new attribute modifier to the given stack.(package private) booleanItemAttributeModifierEvent.ItemAttributeModifiersBuilder.addModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Attempts to add a new modifier, refusing if one is already present with the same id.(package private) ItemAttributeModifiers.EntryItemAttributeModifierEvent.ItemAttributeModifiersBuilder.replaceModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Adds a modifier to the list, replacing any existing modifiers with the same id.voidItemAttributeModifierEvent.replaceModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Adds a new attribute modifier to the given stack, optionally replacing any existing modifiers with the same id.