Package net.minecraft.server.command
Enum AdvancementCommand.Selection
java.lang.Object
java.lang.Enum<AdvancementCommand.Selection>
net.minecraft.server.command.AdvancementCommand.Selection
- All Implemented Interfaces:
Serializable
,Comparable<AdvancementCommand.Selection>
,java.lang.constant.Constable
- Enclosing class:
- AdvancementCommand
static enum AdvancementCommand.Selection extends Enum<AdvancementCommand.Selection>
- Mappings:
Namespace Name official wv$b
intermediary net/minecraft/class_3008$class_3010
named net/minecraft/server/command/AdvancementCommand$Selection
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description EVERYTHING
FROM
ONLY
THROUGH
UNTIL
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
Selection(boolean before, boolean after)
-
Method Summary
Modifier and Type Method 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.
-
Enum Constant Details
-
ONLY
- Mappings:
Namespace Name Mixin selector official a
Lwv$b;a:Lwv$b;
intermediary field_13464
Lnet/minecraft/class_3008$class_3010;field_13464:Lnet/minecraft/class_3008$class_3010;
named ONLY
Lnet/minecraft/server/command/AdvancementCommand$Selection;ONLY:Lnet/minecraft/server/command/AdvancementCommand$Selection;
-
THROUGH
- Mappings:
Namespace Name Mixin selector official b
Lwv$b;b:Lwv$b;
intermediary field_13462
Lnet/minecraft/class_3008$class_3010;field_13462:Lnet/minecraft/class_3008$class_3010;
named THROUGH
Lnet/minecraft/server/command/AdvancementCommand$Selection;THROUGH:Lnet/minecraft/server/command/AdvancementCommand$Selection;
-
FROM
- Mappings:
Namespace Name Mixin selector official c
Lwv$b;c:Lwv$b;
intermediary field_13458
Lnet/minecraft/class_3008$class_3010;field_13458:Lnet/minecraft/class_3008$class_3010;
named FROM
Lnet/minecraft/server/command/AdvancementCommand$Selection;FROM:Lnet/minecraft/server/command/AdvancementCommand$Selection;
-
UNTIL
- Mappings:
Namespace Name Mixin selector official d
Lwv$b;d:Lwv$b;
intermediary field_13465
Lnet/minecraft/class_3008$class_3010;field_13465:Lnet/minecraft/class_3008$class_3010;
named UNTIL
Lnet/minecraft/server/command/AdvancementCommand$Selection;UNTIL:Lnet/minecraft/server/command/AdvancementCommand$Selection;
-
EVERYTHING
- Mappings:
Namespace Name Mixin selector official e
Lwv$b;e:Lwv$b;
intermediary field_13461
Lnet/minecraft/class_3008$class_3010;field_13461:Lnet/minecraft/class_3008$class_3010;
named EVERYTHING
Lnet/minecraft/server/command/AdvancementCommand$Selection;EVERYTHING:Lnet/minecraft/server/command/AdvancementCommand$Selection;
-
-
Field Details
-
before
private final boolean before- Mappings:
Namespace Name Mixin selector official f
Lwv$b;f:Z
intermediary field_13460
Lnet/minecraft/class_3008$class_3010;field_13460:Z
named before
Lnet/minecraft/server/command/AdvancementCommand$Selection;before:Z
-
after
private final boolean after- Mappings:
Namespace Name Mixin selector official g
Lwv$b;g:Z
intermediary field_13459
Lnet/minecraft/class_3008$class_3010;field_13459:Z
named after
Lnet/minecraft/server/command/AdvancementCommand$Selection;after:Z
-
-
Constructor Details
-
Selection
private Selection(boolean before, boolean after)- Mappings:
Namespace Name Mixin selector official <init>
Lwv$b;<init>(Ljava/lang/String;IZZ)V
intermediary <init>
Lnet/minecraft/class_3008$class_3010;<init>(Ljava/lang/String;IZZ)V
named <init>
Lnet/minecraft/server/command/AdvancementCommand$Selection;<init>(Ljava/lang/String;IZZ)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-