public class AdvancementCommand
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
AdvancementCommand.Action |
(package private) static class |
AdvancementCommand.Mode |
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> |
SUGGEST_ADVANCEMENTS |
Constructor and Description |
---|
AdvancementCommand() |
Modifier and Type | Method and Description |
---|---|
private static void |
addAllChildren(Advancement advancementIn,
java.util.List<Advancement> list) |
private static int |
forEachAdvancement(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
AdvancementCommand.Action action,
java.util.Collection<Advancement> advancements) |
private static java.util.List<Advancement> |
getMatchingAdvancements(Advancement advancementIn,
AdvancementCommand.Mode mode) |
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static int |
updateCriterion(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
AdvancementCommand.Action action,
Advancement advancementIn,
java.lang.String criterionName) |
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> SUGGEST_ADVANCEMENTS
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int forEachAdvancement(CommandSource source, java.util.Collection<ServerPlayerEntity> targets, AdvancementCommand.Action action, java.util.Collection<Advancement> advancements)
private static int updateCriterion(CommandSource source, java.util.Collection<ServerPlayerEntity> targets, AdvancementCommand.Action action, Advancement advancementIn, java.lang.String criterionName)
private static java.util.List<Advancement> getMatchingAdvancements(Advancement advancementIn, AdvancementCommand.Mode mode)
private static void addAllChildren(Advancement advancementIn, java.util.List<Advancement> list)