类 AdvancementCommands
java.lang.Object
net.minecraft.server.commands.AdvancementCommands
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static enum
(专用程序包) static enum
-
字段概要
字段修饰符和类型字段说明private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static void
addChildren
(Advancement pAdvancement, List<Advancement> pList) private static List<Advancement>
getAdvancements
(Advancement pAdvancement, AdvancementCommands.Mode pMode) private static int
perform
(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, AdvancementCommands.Action pAction, Collection<Advancement> pAdvancements) private static int
performCriterion
(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, AdvancementCommands.Action pAction, Advancement pAdvancement, String pCriterionName) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher)
-
字段详细资料
-
SUGGEST_ADVANCEMENTS
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> SUGGEST_ADVANCEMENTS
-
-
构造器详细资料
-
AdvancementCommands
public AdvancementCommands()
-
-
方法详细资料
-
register
-
perform
private static int perform(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, AdvancementCommands.Action pAction, Collection<Advancement> pAdvancements) -
performCriterion
private static int performCriterion(CommandSourceStack pSource, Collection<ServerPlayer> pTargets, AdvancementCommands.Action pAction, Advancement pAdvancement, String pCriterionName) -
getAdvancements
private static List<Advancement> getAdvancements(Advancement pAdvancement, AdvancementCommands.Mode pMode) -
addChildren
-