public static enum BossBarS2CPacket.Type extends Enum<BossBarS2CPacket.Type>
| Enum Constant and Description |
|---|
ADD |
REMOVE |
UPDATE_NAME |
UPDATE_PCT |
UPDATE_PROPERTIES |
UPDATE_STYLE |
| Modifier and Type | Method and Description |
|---|---|
static BossBarS2CPacket.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BossBarS2CPacket.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossBarS2CPacket.Type ADD
public static final BossBarS2CPacket.Type REMOVE
public static final BossBarS2CPacket.Type UPDATE_PCT
public static final BossBarS2CPacket.Type UPDATE_NAME
public static final BossBarS2CPacket.Type UPDATE_STYLE
public static final BossBarS2CPacket.Type UPDATE_PROPERTIES
public static BossBarS2CPacket.Type[] values()
for (BossBarS2CPacket.Type c : BossBarS2CPacket.Type.values()) System.out.println(c);
public static BossBarS2CPacket.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