public static enum WorldBorderMessage.Action extends Enum<WorldBorderMessage.Action>
Enum Constant and Description |
---|
INITIALIZE |
LERP_SIZE |
SET_CENTER |
SET_SIZE |
SET_WARNING_BLOCKS |
SET_WARNING_TIME |
Modifier and Type | Method and Description |
---|---|
static WorldBorderMessage.Action |
getAction(int id) |
static WorldBorderMessage.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorldBorderMessage.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorldBorderMessage.Action SET_SIZE
public static final WorldBorderMessage.Action LERP_SIZE
public static final WorldBorderMessage.Action SET_CENTER
public static final WorldBorderMessage.Action INITIALIZE
public static final WorldBorderMessage.Action SET_WARNING_TIME
public static final WorldBorderMessage.Action SET_WARNING_BLOCKS
public static WorldBorderMessage.Action[] values()
for (WorldBorderMessage.Action c : WorldBorderMessage.Action.values()) System.out.println(c);
public static WorldBorderMessage.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 nullpublic static WorldBorderMessage.Action getAction(int id)
Copyright © 2021. All rights reserved.