public static enum SetTitlePacket.Type extends Enum<SetTitlePacket.Type>
| Enum Constant and Description |
|---|
CLEAR_TITLE |
RESET_TITLE |
SET_ACTIONBAR_MESSAGE |
SET_ANIMATION_TIMES |
SET_SUBTITLE |
SET_TITLE |
| Modifier and Type | Method and Description |
|---|---|
static SetTitlePacket.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SetTitlePacket.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetTitlePacket.Type CLEAR_TITLE
public static final SetTitlePacket.Type RESET_TITLE
public static final SetTitlePacket.Type SET_TITLE
public static final SetTitlePacket.Type SET_SUBTITLE
public static final SetTitlePacket.Type SET_ACTIONBAR_MESSAGE
public static final SetTitlePacket.Type SET_ANIMATION_TIMES
public static SetTitlePacket.Type[] values()
for (SetTitlePacket.Type c : SetTitlePacket.Type.values()) System.out.println(c);
public static SetTitlePacket.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 nullCopyright © 2018–2019 NukkitX. All rights reserved.