Class AdvancementCommand

java.lang.Object
net.minecraft.server.command.AdvancementCommand

public class AdvancementCommand extends Object
Mappings:
Namespace Name
official ze
intermediary net/minecraft/class_3008
named net/minecraft/server/command/AdvancementCommand
  • Field Details

    • SUGGESTION_PROVIDER

      private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official a Lze;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      intermediary field_13453 Lnet/minecraft/class_3008;field_13453:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      named SUGGESTION_PROVIDER Lnet/minecraft/server/command/AdvancementCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
  • Constructor Details

    • AdvancementCommand

      public AdvancementCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lze;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_12980 Lnet/minecraft/class_3008;method_12980(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/AdvancementCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • executeAdvancement

      private static int executeAdvancement(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Collection<Advancement> selection)
      Mappings:
      Namespace Name Mixin selector
      official a Lze;a(Ldm;Ljava/util/Collection;Lze$a;Ljava/util/Collection;)I
      intermediary method_12988 Lnet/minecraft/class_3008;method_12988(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_3008$class_3009;Ljava/util/Collection;)I
      named executeAdvancement Lnet/minecraft/server/command/AdvancementCommand;executeAdvancement(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/server/command/AdvancementCommand$Operation;Ljava/util/Collection;)I
    • executeCriterion

      private static int executeCriterion(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Advancement advancement, String criterion)
      Mappings:
      Namespace Name Mixin selector
      official a Lze;a(Ldm;Ljava/util/Collection;Lze$a;Laf;Ljava/lang/String;)I
      intermediary method_12981 Lnet/minecraft/class_3008;method_12981(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_3008$class_3009;Lnet/minecraft/class_161;Ljava/lang/String;)I
      named executeCriterion Lnet/minecraft/server/command/AdvancementCommand;executeCriterion(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/server/command/AdvancementCommand$Operation;Lnet/minecraft/advancement/Advancement;Ljava/lang/String;)I
    • select

      private static List<Advancement> select(Advancement advancement, AdvancementCommand.Selection selection)
      Mappings:
      Namespace Name Mixin selector
      official a Lze;a(Laf;Lze$b;)Ljava/util/List;
      intermediary method_12996 Lnet/minecraft/class_3008;method_12996(Lnet/minecraft/class_161;Lnet/minecraft/class_3008$class_3010;)Ljava/util/List;
      named select Lnet/minecraft/server/command/AdvancementCommand;select(Lnet/minecraft/advancement/Advancement;Lnet/minecraft/server/command/AdvancementCommand$Selection;)Ljava/util/List;
    • addChildrenRecursivelyToList

      private static void addChildrenRecursivelyToList(Advancement parent, List<Advancement> childList)
      Mappings:
      Namespace Name Mixin selector
      official a Lze;a(Laf;Ljava/util/List;)V
      intermediary method_12990 Lnet/minecraft/class_3008;method_12990(Lnet/minecraft/class_161;Ljava/util/List;)V
      named addChildrenRecursivelyToList Lnet/minecraft/server/command/AdvancementCommand;addChildrenRecursivelyToList(Lnet/minecraft/advancement/Advancement;Ljava/util/List;)V