public static enum GameRules.ValueType extends java.lang.Enum<GameRules.ValueType>
Enum Constant and Description |
---|
ANY_VALUE |
BOOLEAN_VALUE |
FUNCTION |
NUMERICAL_VALUE |
Modifier and Type | Method and Description |
---|---|
static GameRules.ValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameRules.ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameRules.ValueType ANY_VALUE
public static final GameRules.ValueType BOOLEAN_VALUE
public static final GameRules.ValueType NUMERICAL_VALUE
public static final GameRules.ValueType FUNCTION
public static GameRules.ValueType[] values()
for (GameRules.ValueType c : GameRules.ValueType.values()) System.out.println(c);
public static GameRules.ValueType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null