Package net.minecraft.command.impl
Class AdvancementCommand
- java.lang.Object
-
- net.minecraft.command.impl.AdvancementCommand
-
public class AdvancementCommand extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
AdvancementCommand.Action
(package private) static class
AdvancementCommand.Mode
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SUGGEST_ADVANCEMENTS
-
Constructor Summary
Constructors Constructor Description AdvancementCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
addChildren(Advancement p_198207_0_, java.util.List<Advancement> p_198207_1_)
private static java.util.List<Advancement>
getAdvancements(Advancement p_198216_0_, AdvancementCommand.Mode p_198216_1_)
private static int
perform(CommandSource p_198214_0_, java.util.Collection<ServerPlayerEntity> p_198214_1_, AdvancementCommand.Action p_198214_2_, java.util.Collection<Advancement> p_198214_3_)
private static int
performCriterion(CommandSource p_198203_0_, java.util.Collection<ServerPlayerEntity> p_198203_1_, AdvancementCommand.Action p_198203_2_, Advancement p_198203_3_, java.lang.String p_198203_4_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198199_0_)
-
-
-
Field Detail
-
SUGGEST_ADVANCEMENTS
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> SUGGEST_ADVANCEMENTS
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198199_0_)
-
perform
private static int perform(CommandSource p_198214_0_, java.util.Collection<ServerPlayerEntity> p_198214_1_, AdvancementCommand.Action p_198214_2_, java.util.Collection<Advancement> p_198214_3_)
-
performCriterion
private static int performCriterion(CommandSource p_198203_0_, java.util.Collection<ServerPlayerEntity> p_198203_1_, AdvancementCommand.Action p_198203_2_, Advancement p_198203_3_, java.lang.String p_198203_4_)
-
getAdvancements
private static java.util.List<Advancement> getAdvancements(Advancement p_198216_0_, AdvancementCommand.Mode p_198216_1_)
-
addChildren
private static void addChildren(Advancement p_198207_0_, java.util.List<Advancement> p_198207_1_)
-
-