Package net.minecraft.server.command
Class AdvancementCommand
java.lang.Object
net.minecraft.server.command.AdvancementCommand
- Mappings:
Namespace Name official ail
intermediary net/minecraft/class_3008
named net/minecraft/server/command/AdvancementCommand
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static enum
private static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addChildrenRecursivelyToList
(PlacedAdvancement parent, List<AdvancementEntry> childList) private static int
executeAdvancement
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Collection<AdvancementEntry> selection) private static int
executeCriterion
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, AdvancementEntry advancement, String criterion) static void
register
(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
-
GENERIC_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType GENERIC_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Lail;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_47182
Lnet/minecraft/class_3008;field_47182:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named GENERIC_EXCEPTION
Lnet/minecraft/server/command/AdvancementCommand;GENERIC_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
CRITERION_NOT_FOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType CRITERION_NOT_FOUND_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lail;b:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
intermediary field_47183
Lnet/minecraft/class_3008;field_47183:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
named CRITERION_NOT_FOUND_EXCEPTION
Lnet/minecraft/server/command/AdvancementCommand;CRITERION_NOT_FOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER- Mappings:
Namespace Name Mixin selector official c
Lail;c: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
- Mappings:
Namespace Name Mixin selector official a
Lail;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<AdvancementEntry> selection) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lail;a(Lds;Ljava/util/Collection;Lail$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, AdvancementEntry advancement, String criterion) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lail;a(Lds;Ljava/util/Collection;Lail$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_8779;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/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 a
Lail;a(Lcom/mojang/brigadier/context/CommandContext;Laf;Lail$b;)Ljava/util/List;
intermediary method_12996
Lnet/minecraft/class_3008;method_12996(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_8779;Lnet/minecraft/class_3008$class_3010;)Ljava/util/List;
named select
Lnet/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 a
Lail;a(Lag;Ljava/util/List;)V
intermediary method_12990
Lnet/minecraft/class_3008;method_12990(Lnet/minecraft/class_8781;Ljava/util/List;)V
named addChildrenRecursivelyToList
Lnet/minecraft/server/command/AdvancementCommand;addChildrenRecursivelyToList(Lnet/minecraft/advancement/PlacedAdvancement;Ljava/util/List;)V
-