Package net.minecraft.command.impl
Class AdvancementCommand
java.lang.Object
net.minecraft.command.impl.AdvancementCommand
-
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<CommandSource>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addChildren
(Advancement p_198207_0_, List<Advancement> p_198207_1_) private static List<Advancement>
getAdvancements
(Advancement p_198216_0_, AdvancementCommand.Mode p_198216_1_) private static int
perform
(CommandSource p_198214_0_, Collection<ServerPlayerEntity> p_198214_1_, AdvancementCommand.Action p_198214_2_, Collection<Advancement> p_198214_3_) private static int
performCriterion
(CommandSource p_198203_0_, Collection<ServerPlayerEntity> p_198203_1_, AdvancementCommand.Action p_198203_2_, Advancement p_198203_3_, String p_198203_4_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198199_0_)
-
Field Details
-
SUGGEST_ADVANCEMENTS
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> SUGGEST_ADVANCEMENTS
-
-
Constructor Details
-
AdvancementCommand
public AdvancementCommand()
-
-
Method Details
-
register
-
perform
private static int perform(CommandSource p_198214_0_, Collection<ServerPlayerEntity> p_198214_1_, AdvancementCommand.Action p_198214_2_, Collection<Advancement> p_198214_3_) -
performCriterion
private static int performCriterion(CommandSource p_198203_0_, Collection<ServerPlayerEntity> p_198203_1_, AdvancementCommand.Action p_198203_2_, Advancement p_198203_3_, String p_198203_4_) -
getAdvancements
private static List<Advancement> getAdvancements(Advancement p_198216_0_, AdvancementCommand.Mode p_198216_1_) -
addChildren
-