Uses of Class
org.bukkit.inventory.EquipmentSlotGroup
Package
Description
Collection of registry entry types that may be created or modified via the
RegistryEvent
.Classes relevant to attributes.
Classes relating to the specialized enhancements to
item stacks
, as part of the meta data
.Classes involved in manipulating player inventories and item interactions.
-
Uses of EquipmentSlotGroup in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptiondefault EquipmentSlotGroup
ItemAttributeModifiers.Entry.getGroup()
Gets the slot group for this attribute.Modifier and TypeMethodDescriptionItemAttributeModifiers.Builder.addModifier
(Attribute attribute, AttributeModifier modifier, EquipmentSlotGroup equipmentSlotGroup) Adds a modifier to this builder. -
Uses of EquipmentSlotGroup in io.papermc.paper.registry.data
Modifier and TypeMethodDescriptionEnchantmentRegistryEntry.activeSlots()
Provides a list of slot groups this enchantment may be active in.Modifier and TypeMethodDescriptiondefault EnchantmentRegistryEntry.Builder
EnchantmentRegistryEntry.Builder.activeSlots
(EquipmentSlotGroup... activeSlots) Configures the list of slot groups this enchantment may be active in.Modifier and TypeMethodDescriptionEnchantmentRegistryEntry.Builder.activeSlots
(Iterable<EquipmentSlotGroup> activeSlots) Configures the list of slot groups this enchantment may be active in. -
Uses of EquipmentSlotGroup in org.bukkit.attribute
Modifier and TypeMethodDescriptionAttributeModifier.getSlotGroup()
Get theEquipmentSlotGroup
this AttributeModifier is active on.ModifierConstructorDescriptionAttributeModifier
(@NotNull UUID uuid, @NotNull String name, double amount, @NotNull AttributeModifier.Operation operation, @NotNull EquipmentSlotGroup slot) Deprecated, for removal: This API element is subject to removal in a future version.AttributeModifier
(@NotNull NamespacedKey key, double amount, @NotNull AttributeModifier.Operation operation, @NotNull EquipmentSlotGroup slot) -
Uses of EquipmentSlotGroup in org.bukkit.enchantments
Modifier and TypeMethodDescriptionabstract Set
<EquipmentSlotGroup> Enchantment.getActiveSlotGroups()
Gets the equipment slots where this enchantment is considered "active". -
Uses of EquipmentSlotGroup in org.bukkit.inventory
Modifier and TypeFieldDescriptionstatic final EquipmentSlotGroup
EquipmentSlotGroup.ANY
static final EquipmentSlotGroup
EquipmentSlotGroup.ARMOR
static final EquipmentSlotGroup
EquipmentSlotGroup.BODY
static final EquipmentSlotGroup
EquipmentSlotGroup.CHEST
static final EquipmentSlotGroup
EquipmentSlotGroup.FEET
static final EquipmentSlotGroup
EquipmentSlotGroup.HAND
static final EquipmentSlotGroup
EquipmentSlotGroup.HEAD
static final EquipmentSlotGroup
EquipmentSlotGroup.LEGS
static final EquipmentSlotGroup
EquipmentSlotGroup.MAINHAND
static final EquipmentSlotGroup
EquipmentSlotGroup.OFFHAND
Modifier and TypeMethodDescriptionstatic @Nullable EquipmentSlotGroup
Gets theEquipmentSlotGroup
corresponding to the given string.EquipmentSlot.getGroup()
Gets theEquipmentSlotGroup
corresponding to this slot.