Enum Class AdvancementCommand.Operation

java.lang.Object
java.lang.Enum<AdvancementCommand.Operation>
net.minecraft.server.command.AdvancementCommand.Operation
All Implemented Interfaces:
Serializable, Comparable<AdvancementCommand.Operation>, Constable
Enclosing class:
AdvancementCommand

private static enum AdvancementCommand.Operation extends Enum<AdvancementCommand.Operation>
Mappings:
Namespace Name
named net/minecraft/server/command/AdvancementCommand$Operation
intermediary net/minecraft/class_3008$class_3009
official aly$a
  • Enum Constant Details

    • GRANT

      public static final AdvancementCommand.Operation GRANT
      Mappings:
      Namespace Name Mixin selector
      named GRANT Lnet/minecraft/server/command/AdvancementCommand$Operation;GRANT:Lnet/minecraft/server/command/AdvancementCommand$Operation;
      intermediary field_13457 Lnet/minecraft/class_3008$class_3009;field_13457:Lnet/minecraft/class_3008$class_3009;
      official a Laly$a;a:Laly$a;
    • REVOKE

      public static final AdvancementCommand.Operation REVOKE
      Mappings:
      Namespace Name Mixin selector
      named REVOKE Lnet/minecraft/server/command/AdvancementCommand$Operation;REVOKE:Lnet/minecraft/server/command/AdvancementCommand$Operation;
      intermediary field_13456 Lnet/minecraft/class_3008$class_3009;field_13456:Lnet/minecraft/class_3008$class_3009;
      official b Laly$a;b:Laly$a;
  • Field Details

    • commandPrefix

      private final String commandPrefix
      Mappings:
      Namespace Name Mixin selector
      named commandPrefix Lnet/minecraft/server/command/AdvancementCommand$Operation;commandPrefix:Ljava/lang/String;
      intermediary field_13454 Lnet/minecraft/class_3008$class_3009;field_13454:Ljava/lang/String;
      official c Laly$a;c:Ljava/lang/String;
  • Constructor Details

    • Operation

      private Operation(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/command/AdvancementCommand$Operation;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3008$class_3009;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Laly$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static AdvancementCommand.Operation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AdvancementCommand.Operation valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • processAll

      public int processAll(ServerPlayerEntity player, Iterable<AdvancementEntry> advancements)
      Mappings:
      Namespace Name Mixin selector
      named processAll Lnet/minecraft/server/command/AdvancementCommand$Operation;processAll(Lnet/minecraft/server/network/ServerPlayerEntity;Ljava/lang/Iterable;)I
      intermediary method_12999 Lnet/minecraft/class_3008$class_3009;method_12999(Lnet/minecraft/class_3222;Ljava/lang/Iterable;)I
      official a Laly$a;a(Laqv;Ljava/lang/Iterable;)I
    • processEach

      protected abstract boolean processEach(ServerPlayerEntity player, AdvancementEntry advancement)
      Mappings:
      Namespace Name Mixin selector
      named processEach Lnet/minecraft/server/command/AdvancementCommand$Operation;processEach(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/advancement/AdvancementEntry;)Z
      intermediary method_13002 Lnet/minecraft/class_3008$class_3009;method_13002(Lnet/minecraft/class_3222;Lnet/minecraft/class_8779;)Z
      official a Laly$a;a(Laqv;Lag;)Z
    • processEachCriterion

      protected abstract boolean processEachCriterion(ServerPlayerEntity player, AdvancementEntry advancement, String criterion)
      Mappings:
      Namespace Name Mixin selector
      named processEachCriterion Lnet/minecraft/server/command/AdvancementCommand$Operation;processEachCriterion(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/advancement/AdvancementEntry;Ljava/lang/String;)Z
      intermediary method_13000 Lnet/minecraft/class_3008$class_3009;method_13000(Lnet/minecraft/class_3222;Lnet/minecraft/class_8779;Ljava/lang/String;)Z
      official a Laly$a;a(Laqv;Lag;Ljava/lang/String;)Z
    • getCommandPrefix

      protected String getCommandPrefix()
      Mappings:
      Namespace Name Mixin selector
      named getCommandPrefix Lnet/minecraft/server/command/AdvancementCommand$Operation;getCommandPrefix()Ljava/lang/String;
      intermediary method_13001 Lnet/minecraft/class_3008$class_3009;method_13001()Ljava/lang/String;
      official a Laly$a;a()Ljava/lang/String;