类 EquipmentSlotGroup
java.lang.Object
org.bukkit.inventory.EquipmentSlotGroup
- 所有已实现的接口:
Predicate<EquipmentSlot>
@Experimental
public final class EquipmentSlotGroup
extends Object
implements Predicate<EquipmentSlot>
Represents a group of
EquipmentSlot
.-
字段概要
修饰符和类型字段说明static final EquipmentSlotGroup
static final EquipmentSlotGroup
static final EquipmentSlotGroup
static final EquipmentSlotGroup
static final EquipmentSlotGroup
static final EquipmentSlotGroup
static final EquipmentSlotGroup
static final EquipmentSlotGroup
static final EquipmentSlotGroup
-
方法概要
修饰符和类型方法说明static @Nullable EquipmentSlotGroup
Gets theEquipmentSlotGroup
corresponding to the given string.已过时。for internal compatibility use onlyboolean
test
(@NotNull EquipmentSlot test) toString()
-
字段详细资料
-
ANY
-
MAINHAND
-
OFFHAND
-
HAND
-
FEET
-
LEGS
-
CHEST
-
HEAD
-
ARMOR
-
-
方法详细资料
-
test
- 指定者:
test
在接口中Predicate<EquipmentSlot>
-
toString
-
getExample
已过时。for internal compatibility use onlyGets anEquipmentSlot
which is an example of a slot in this group.- 返回:
- an example slot
-
getByName
@Nullable @Internal public static @Nullable EquipmentSlotGroup getByName(@NotNull @NotNull String name) Gets theEquipmentSlotGroup
corresponding to the given string.- 参数:
name
- group name- 返回:
- associated group or null
-