public static enum GermArmorChangeEvent.EventType extends java.lang.Enum<GermArmorChangeEvent.EventType>
Enum Constant and Description |
---|
BROKE
原版盔甲耐久耗尽导致玩家身上的原版盔甲变更
|
DEATH
玩家死亡导致玩家身上的原版盔甲变更
|
DRAG
拖放物品使原版盔甲被穿上/卸下
|
HOTBAR
玩家手持快捷栏中的盔甲右键单击使原版盔甲被穿上/卸下
|
HOTBAR_SWAP
玩家将鼠标悬停在盔甲槽上时按下快捷栏槽位数字来穿上/卸下原版盔甲
|
PICK_DROP
手动穿上/卸下原版盔甲
|
SHIFT_CLICK
Shift+点击盔甲槽位使原版盔甲被穿上/卸下
|
Modifier and Type | Method and Description |
---|---|
static GermArmorChangeEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GermArmorChangeEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GermArmorChangeEvent.EventType SHIFT_CLICK
public static final GermArmorChangeEvent.EventType DRAG
public static final GermArmorChangeEvent.EventType PICK_DROP
public static final GermArmorChangeEvent.EventType HOTBAR
public static final GermArmorChangeEvent.EventType HOTBAR_SWAP
public static final GermArmorChangeEvent.EventType BROKE
public static final GermArmorChangeEvent.EventType DEATH
public static GermArmorChangeEvent.EventType[] values()
for (GermArmorChangeEvent.EventType c : GermArmorChangeEvent.EventType.values()) System.out.println(c);
public static GermArmorChangeEvent.EventType 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