public static enum ArmorEquipEvent.EquipMethod extends java.lang.Enum<ArmorEquipEvent.EquipMethod>
Enum Constant and Description |
---|
BROKE
When an armor piece breaks to unequip
|
DEATH
When you die causing all armor to unequip
|
DISPENSER
When in range of a dispenser that shoots an armor piece to equip.
|
DRAG
When you drag and drop the item to equip or unequip
|
HOTBAR
When you right click an armor piece in the hotbar without the inventory open to equip.
|
HOTBAR_SWAP
When you press the hotbar slot number while hovering over the armor slot to equip or unequip
|
SHIFT_CLICK
When you shift click an armor piece to equip or unequip
|
Modifier and Type | Method and Description |
---|---|
static ArmorEquipEvent.EquipMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArmorEquipEvent.EquipMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArmorEquipEvent.EquipMethod SHIFT_CLICK
public static final ArmorEquipEvent.EquipMethod DRAG
public static final ArmorEquipEvent.EquipMethod HOTBAR
public static final ArmorEquipEvent.EquipMethod HOTBAR_SWAP
public static final ArmorEquipEvent.EquipMethod DISPENSER
public static final ArmorEquipEvent.EquipMethod BROKE
public static final ArmorEquipEvent.EquipMethod DEATH
public static ArmorEquipEvent.EquipMethod[] values()
for (ArmorEquipEvent.EquipMethod c : ArmorEquipEvent.EquipMethod.values()) System.out.println(c);
public static ArmorEquipEvent.EquipMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null