Package net.minecraft.server.command
Class AdvancementCommand
java.lang.Object
net.minecraft.server.command.AdvancementCommand
- Mappings:
Namespace Name official agdintermediary net/minecraft/class_3008named net/minecraft/server/command/AdvancementCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static enumprivate static enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddChildrenRecursivelyToList(PlacedAdvancement parent, List<AdvancementEntry> childList) private static intexecuteAdvancement(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Collection<AdvancementEntry> selection) private static intexecuteCriterion(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, AdvancementEntry advancement, String criterion) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static List<AdvancementEntry>select(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, AdvancementEntry advancement, AdvancementCommand.Selection selection)
-
Field Details
-
SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector official aLagd;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;intermediary field_13453Lnet/minecraft/class_3008;field_13453:Lcom/mojang/brigadier/suggestion/SuggestionProvider;named SUGGESTION_PROVIDERLnet/minecraft/server/command/AdvancementCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
-
Constructor Details
-
AdvancementCommand
public AdvancementCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official aLagd;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_12980Lnet/minecraft/class_3008;method_12980(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/AdvancementCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeAdvancement
private static int executeAdvancement(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Collection<AdvancementEntry> selection) - Mappings:
Namespace Name Mixin selector official aLagd;a(Ldt;Ljava/util/Collection;Lagd$a;Ljava/util/Collection;)Iintermediary method_12988Lnet/minecraft/class_3008;method_12988(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_3008$class_3009;Ljava/util/Collection;)Inamed executeAdvancementLnet/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, AdvancementEntry advancement, String criterion) - Mappings:
Namespace Name Mixin selector official aLagd;a(Ldt;Ljava/util/Collection;Lagd$a;Laf;Ljava/lang/String;)Iintermediary method_12981Lnet/minecraft/class_3008;method_12981(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_3008$class_3009;Lnet/minecraft/class_8779;Ljava/lang/String;)Inamed executeCriterionLnet/minecraft/server/command/AdvancementCommand;executeCriterion(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/server/command/AdvancementCommand$Operation;Lnet/minecraft/advancement/AdvancementEntry;Ljava/lang/String;)I
-
select
private static List<AdvancementEntry> select(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, AdvancementEntry advancement, AdvancementCommand.Selection selection) - Mappings:
Namespace Name Mixin selector official aLagd;a(Lcom/mojang/brigadier/context/CommandContext;Laf;Lagd$b;)Ljava/util/List;intermediary method_12996Lnet/minecraft/class_3008;method_12996(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_8779;Lnet/minecraft/class_3008$class_3010;)Ljava/util/List;named selectLnet/minecraft/server/command/AdvancementCommand;select(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/advancement/AdvancementEntry;Lnet/minecraft/server/command/AdvancementCommand$Selection;)Ljava/util/List;
-
addChildrenRecursivelyToList
private static void addChildrenRecursivelyToList(PlacedAdvancement parent, List<AdvancementEntry> childList) - Mappings:
Namespace Name Mixin selector official aLagd;a(Lag;Ljava/util/List;)Vintermediary method_12990Lnet/minecraft/class_3008;method_12990(Lnet/minecraft/class_8781;Ljava/util/List;)Vnamed addChildrenRecursivelyToListLnet/minecraft/server/command/AdvancementCommand;addChildrenRecursivelyToList(Lnet/minecraft/advancement/PlacedAdvancement;Ljava/util/List;)V
-