Package net.minecraft.server.commands
Class AdvancementCommands
java.lang.Object
net.minecraft.server.commands.AdvancementCommands
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static enum
(package private) static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addChildren
(AdvancementNode p_300493_, List<AdvancementHolder> p_136332_) private static List<AdvancementHolder>
getAdvancements
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_298043_, AdvancementHolder p_300683_, AdvancementCommands.Mode p_136335_) private static int
perform
(CommandSourceStack p_136320_, Collection<ServerPlayer> p_136321_, AdvancementCommands.Action p_136322_, Collection<AdvancementHolder> p_136323_) private static int
performCriterion
(CommandSourceStack p_136325_, Collection<ServerPlayer> p_136326_, AdvancementCommands.Action p_136327_, AdvancementHolder p_299259_, String p_136329_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136311_)
-
Field Details
-
SUGGEST_ADVANCEMENTS
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> SUGGEST_ADVANCEMENTS
-
-
Constructor Details
-
AdvancementCommands
public AdvancementCommands()
-
-
Method Details
-
register
-
perform
private static int perform(CommandSourceStack p_136320_, Collection<ServerPlayer> p_136321_, AdvancementCommands.Action p_136322_, Collection<AdvancementHolder> p_136323_) -
performCriterion
private static int performCriterion(CommandSourceStack p_136325_, Collection<ServerPlayer> p_136326_, AdvancementCommands.Action p_136327_, AdvancementHolder p_299259_, String p_136329_) -
getAdvancements
private static List<AdvancementHolder> getAdvancements(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_298043_, AdvancementHolder p_300683_, AdvancementCommands.Mode p_136335_) -
addChildren
-