public static enum PacketPlayOutTitle.TitleAction extends Enum<PacketPlayOutTitle.TitleAction>
Enum Constant and Description |
---|
HIDE |
RESET |
SUBTITLE |
TIMES_AND_DISPLAY |
TITLE |
Modifier and Type | Method and Description |
---|---|
int |
id() |
static PacketPlayOutTitle.TitleAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketPlayOutTitle.TitleAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketPlayOutTitle.TitleAction TITLE
public static final PacketPlayOutTitle.TitleAction SUBTITLE
public static final PacketPlayOutTitle.TitleAction TIMES_AND_DISPLAY
public static final PacketPlayOutTitle.TitleAction HIDE
public static final PacketPlayOutTitle.TitleAction RESET
public static PacketPlayOutTitle.TitleAction[] values()
for (PacketPlayOutTitle.TitleAction c : PacketPlayOutTitle.TitleAction.values()) System.out.println(c);
public static PacketPlayOutTitle.TitleAction 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 nullpublic int id()
Copyright © 2016. All rights reserved.