public static enum SetTitlePacket.Type extends Enum<SetTitlePacket.Type>
| Enum Constant and Description |
|---|
ACTIONBAR |
ACTIONBAR_JSON |
CLEAR |
RESET |
SUBTITLE |
SUBTITLE_JSON |
TIMES |
TITLE |
TITLE_JSON |
| 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
public static final SetTitlePacket.Type RESET
public static final SetTitlePacket.Type TITLE
public static final SetTitlePacket.Type SUBTITLE
public static final SetTitlePacket.Type ACTIONBAR
public static final SetTitlePacket.Type TIMES
public static final SetTitlePacket.Type TITLE_JSON
public static final SetTitlePacket.Type SUBTITLE_JSON
public static final SetTitlePacket.Type ACTIONBAR_JSON
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–2022 NukkitX. All rights reserved.