public class AdvancementCommand extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
AdvancementCommand.Operation |
(package private) static class |
AdvancementCommand.Selection |
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> |
SUGGESTION_PROVIDER |
Constructor and Description |
---|
AdvancementCommand() |
Modifier and Type | Method and Description |
---|---|
private static void |
addChildrenRecursivelyToList(Advancement parent,
List<Advancement> childList) |
private static int |
executeAdvancement(ServerCommandSource source,
Collection<ServerPlayerEntity> targets,
AdvancementCommand.Operation operation,
Collection<Advancement> selection) |
private static int |
executeCriterion(ServerCommandSource source,
Collection<ServerPlayerEntity> targets,
AdvancementCommand.Operation operation,
Advancement advancement,
String criterion) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) |
private static List<Advancement> |
select(Advancement advancement,
AdvancementCommand.Selection selection) |
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int executeAdvancement(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Collection<Advancement> selection)
private static int executeCriterion(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Advancement advancement, String criterion)
private static List<Advancement> select(Advancement advancement, AdvancementCommand.Selection selection)
private static void addChildrenRecursivelyToList(Advancement parent, List<Advancement> childList)