Package net.minecraft.server.command
Enum AdvancementCommand.Operation
java.lang.Object
java.lang.Enum<AdvancementCommand.Operation>
net.minecraft.server.command.AdvancementCommand.Operation
- All Implemented Interfaces:
Serializable,Comparable<AdvancementCommand.Operation>,java.lang.constant.Constable
- Enclosing class:
- AdvancementCommand
static enum AdvancementCommand.Operation extends Enum<AdvancementCommand.Operation>
- Mappings:
Namespace Name official wv$aintermediary net/minecraft/class_3008$class_3009named net/minecraft/server/command/AdvancementCommand$Operation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private StringcommandPrefix -
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected StringgetCommandPrefix()intprocessAll(ServerPlayerEntity player, Iterable<Advancement> advancements)protected abstract booleanprocessEach(ServerPlayerEntity player, Advancement advancement)protected abstract booleanprocessEachCriterion(ServerPlayerEntity player, Advancement advancement, String criterion)static AdvancementCommand.OperationvalueOf(String name)Returns the enum constant of this type with the specified name.static AdvancementCommand.Operation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GRANT
- Mappings:
Namespace Name Mixin selector official aLwv$a;a:Lwv$a;intermediary field_13457Lnet/minecraft/class_3008$class_3009;field_13457:Lnet/minecraft/class_3008$class_3009;named GRANTLnet/minecraft/server/command/AdvancementCommand$Operation;GRANT:Lnet/minecraft/server/command/AdvancementCommand$Operation;
-
REVOKE
- Mappings:
Namespace Name Mixin selector official bLwv$a;b:Lwv$a;intermediary field_13456Lnet/minecraft/class_3008$class_3009;field_13456:Lnet/minecraft/class_3008$class_3009;named REVOKELnet/minecraft/server/command/AdvancementCommand$Operation;REVOKE:Lnet/minecraft/server/command/AdvancementCommand$Operation;
-
-
Field Details
-
commandPrefix
- Mappings:
Namespace Name Mixin selector official cLwv$a;c:Ljava/lang/String;intermediary field_13454Lnet/minecraft/class_3008$class_3009;field_13454:Ljava/lang/String;named commandPrefixLnet/minecraft/server/command/AdvancementCommand$Operation;commandPrefix:Ljava/lang/String;
-
-
Constructor Details
-
Operation
- Mappings:
Namespace Name Mixin selector official <init>Lwv$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3008$class_3009;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/server/command/AdvancementCommand$Operation;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
processAll
- Mappings:
Namespace Name Mixin selector official aLwv$a;a(Laaw;Ljava/lang/Iterable;)Iintermediary method_12999Lnet/minecraft/class_3008$class_3009;method_12999(Lnet/minecraft/class_3222;Ljava/lang/Iterable;)Inamed processAllLnet/minecraft/server/command/AdvancementCommand$Operation;processAll(Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/lang/Iterable;)I
-
processEach
- Mappings:
Namespace Name Mixin selector official aLwv$a;a(Laaw;Ly;)Zintermediary method_13002Lnet/minecraft/class_3008$class_3009;method_13002(Lnet/minecraft/class_3222;Lnet/minecraft/class_161;)Znamed processEachLnet/minecraft/server/command/AdvancementCommand$Operation;processEach(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/advancement/Advancement;)Z
-
processEachCriterion
protected abstract boolean processEachCriterion(ServerPlayerEntity player, Advancement advancement, String criterion)- Mappings:
Namespace Name Mixin selector official aLwv$a;a(Laaw;Ly;Ljava/lang/String;)Zintermediary method_13000Lnet/minecraft/class_3008$class_3009;method_13000(Lnet/minecraft/class_3222;Lnet/minecraft/class_161;Ljava/lang/String;)Znamed processEachCriterionLnet/minecraft/server/command/AdvancementCommand$Operation;processEachCriterion(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/advancement/Advancement;Ljava/lang/String;)Z
-
getCommandPrefix
- Mappings:
Namespace Name Mixin selector official aLwv$a;a()Ljava/lang/String;intermediary method_13001Lnet/minecraft/class_3008$class_3009;method_13001()Ljava/lang/String;named getCommandPrefixLnet/minecraft/server/command/AdvancementCommand$Operation;getCommandPrefix()Ljava/lang/String;
-