Package org.bukkit.inventory
Class EquipmentSlotGroup
java.lang.Object
org.bukkit.inventory.EquipmentSlotGroup
- All Implemented Interfaces:
- Predicate<EquipmentSlot>
@Experimental
public final class EquipmentSlotGroup
extends Object
implements Predicate<EquipmentSlot>
Represents a group of 
EquipmentSlot.- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final EquipmentSlotGroupstatic final EquipmentSlotGroupstatic final EquipmentSlotGroupstatic final EquipmentSlotGroupstatic final EquipmentSlotGroupstatic final EquipmentSlotGroupstatic final EquipmentSlotGroupstatic final EquipmentSlotGroupstatic final EquipmentSlotGroup
- 
Method SummaryModifier and TypeMethodDescriptionstatic EquipmentSlotGroupGets theEquipmentSlotGroupcorresponding to the given string.Deprecated.for internal compatibility use onlybooleantest(EquipmentSlot test) toString()
- 
Field Details- 
ANY
- 
MAINHAND
- 
OFFHAND
- 
HAND
- 
FEET
- 
LEGS
- 
CHEST
- 
HEAD
- 
ARMOR
 
- 
- 
Method Details- 
test- Specified by:
- testin interface- Predicate<EquipmentSlot>
 
- 
toString
- 
getExampleDeprecated.for internal compatibility use onlyGets anEquipmentSlotwhich is an example of a slot in this group.- Returns:
- an example slot
 
- 
getByNameGets theEquipmentSlotGroupcorresponding to the given string.- Parameters:
- name- group name
- Returns:
- associated group or null
 
 
-