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