public static enum MessageEncoder.HoverEvent.Action extends Enum<MessageEncoder.HoverEvent.Action>
Enum Constant and Description |
---|
SHOW_ACHIEVEMENT |
SHOW_ITEM |
SHOW_TEXT |
Modifier and Type | Method and Description |
---|---|
static MessageEncoder.HoverEvent.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageEncoder.HoverEvent.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageEncoder.HoverEvent.Action SHOW_TEXT
public static final MessageEncoder.HoverEvent.Action SHOW_ACHIEVEMENT
public static final MessageEncoder.HoverEvent.Action SHOW_ITEM
public static MessageEncoder.HoverEvent.Action[] values()
for (MessageEncoder.HoverEvent.Action c : MessageEncoder.HoverEvent.Action.values()) System.out.println(c);
public static MessageEncoder.HoverEvent.Action 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 © 2019. All rights reserved.