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
(Advancement p_136331_, List<Advancement> p_136332_) private static List<Advancement>
getAdvancements
(Advancement p_136334_, AdvancementCommands.Mode p_136335_) private static int
perform
(CommandSourceStack p_136320_, Collection<ServerPlayer> p_136321_, AdvancementCommands.Action p_136322_, Collection<Advancement> p_136323_) private static int
performCriterion
(CommandSourceStack p_136325_, Collection<ServerPlayer> p_136326_, AdvancementCommands.Action p_136327_, Advancement p_136328_, 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<Advancement> p_136323_) -
performCriterion
private static int performCriterion(CommandSourceStack p_136325_, Collection<ServerPlayer> p_136326_, AdvancementCommands.Action p_136327_, Advancement p_136328_, String p_136329_) -
getAdvancements
private static List<Advancement> getAdvancements(Advancement p_136334_, AdvancementCommands.Mode p_136335_) -
addChildren
-