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 |
---|---|
(package private) boolean |
children |
(package private) java.lang.String |
name |
(package private) static java.lang.String[] |
NAMES |
(package private) boolean |
parents |
Modifier and Type | Method and Description |
---|---|
(package private) static AdvancementCommand.Mode |
byName(java.lang.String nameIn) |
(package private) CommandException |
fail(AdvancementCommand.ActionType p_193543_1_,
java.lang.Object... p_193543_2_) |
(package private) void |
success(ICommandSender sender,
AdvancementCommand p_193546_2_,
AdvancementCommand.ActionType type,
java.lang.Object... args) |
(package private) CommandException |
usage(AdvancementCommand.ActionType p_193544_1_) |
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
static final java.lang.String[] NAMES
final java.lang.String name
final boolean parents
final boolean children
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 nullCommandException fail(AdvancementCommand.ActionType p_193543_1_, java.lang.Object... p_193543_2_)
CommandException usage(AdvancementCommand.ActionType p_193544_1_)
void success(ICommandSender sender, AdvancementCommand p_193546_2_, AdvancementCommand.ActionType type, java.lang.Object... args)
@Nullable static AdvancementCommand.Mode byName(java.lang.String nameIn)