# 类的使用
org.bukkit.inventory.EquipmentSlotGroup

使用EquipmentSlotGroup的程序包
程序包
说明
org.bukkit.attribute
与属性有关的类 (Minecraft Wiki - 属性).
org.bukkit.inventory
参与操作玩家物品栏和物品交互的类.

- ## org.bukkit.attribute中EquipmentSlotGroup的使用

  返回EquipmentSlotGroup的org.bukkit.attribute中的方法
  修饰符和类型
  方法
  说明
  `@NotNull EquipmentSlotGroup`
  AttributeModifier.`getSlotGroup()`
  Get the `EquipmentSlot` this AttributeModifier is active on, or null if this modifier is applicable for any slot.
  参数类型为EquipmentSlotGroup的org.bukkit.attribute中的构造器
  限定符
  构造器
  说明
  ``
  `AttributeModifier(@NotNull UUID uuid, @NotNull String name, double amount, @NotNull AttributeModifier.Operation operation, @NotNull EquipmentSlotGroup slot)`
  已过时。
  ``
  `AttributeModifier(@NotNull NamespacedKey key, double amount, @NotNull AttributeModifier.Operation operation, @NotNull EquipmentSlotGroup slot)`

- ## org.bukkit.inventory中EquipmentSlotGroup的使用

  声明为EquipmentSlotGroup的org.bukkit.inventory中的字段
  修饰符和类型
  字段
  说明
  `static final EquipmentSlotGroup`
  EquipmentSlotGroup.`ANY`
  `static final EquipmentSlotGroup`
  EquipmentSlotGroup.`ARMOR`
  `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`
  返回EquipmentSlotGroup的org.bukkit.inventory中的方法
  修饰符和类型
  方法
  说明
  `static @Nullable EquipmentSlotGroup`
  EquipmentSlotGroup.`getByName(@NotNull String name)`
  Gets the `EquipmentSlotGroup` corresponding to the given string.
  `@NotNull EquipmentSlotGroup`
  EquipmentSlot.`getGroup()`
  Gets the `EquipmentSlotGroup` corresponding to this slot.