public static enum CombatEventS2CPacket.Type extends Enum<CombatEventS2CPacket.Type>
| Enum Constant and Description |
|---|
END_COMBAT |
ENTER_COMBAT |
ENTITY_DIED |
| Modifier and Type | Method and Description |
|---|---|
static CombatEventS2CPacket.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CombatEventS2CPacket.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CombatEventS2CPacket.Type ENTER_COMBAT
public static final CombatEventS2CPacket.Type END_COMBAT
public static final CombatEventS2CPacket.Type ENTITY_DIED
public static CombatEventS2CPacket.Type[] values()
for (CombatEventS2CPacket.Type c : CombatEventS2CPacket.Type.values()) System.out.println(c);
public static CombatEventS2CPacket.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null