static enum AdvancementCommand.Mode extends java.lang.Enum<AdvancementCommand.Mode>
Enum Constant and Description |
---|
EVERYTHING |
FROM |
ONLY |
THROUGH |
UNTIL |
Modifier and Type | Field and Description |
---|---|
private boolean |
includesChildren |
private boolean |
includesParents |
Modifier and Type | Method and Description |
---|---|
static AdvancementCommand.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdvancementCommand.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvancementCommand.Mode ONLY
public static final AdvancementCommand.Mode THROUGH
public static final AdvancementCommand.Mode FROM
public static final AdvancementCommand.Mode UNTIL
public static final AdvancementCommand.Mode EVERYTHING
private final boolean includesParents
private final boolean includesChildren
public static AdvancementCommand.Mode[] values()
for (AdvancementCommand.Mode c : AdvancementCommand.Mode.values()) System.out.println(c);
public static AdvancementCommand.Mode 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