类 ScheduleCommand
java.lang.Object
net.minecraft.server.commands.ScheduleCommand
-
字段概要
字段修饰符和类型字段说明private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) private static int
remove
(CommandSourceStack pSource, String pFunction) private static int
schedule
(CommandSourceStack pSource, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> pFunction, int pTime, boolean pAppend)
-
字段详细资料
-
ERROR_SAME_TICK
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_SAME_TICK -
ERROR_CANT_REMOVE
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_CANT_REMOVE -
SUGGEST_SCHEDULE
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> SUGGEST_SCHEDULE
-
-
构造器详细资料
-
ScheduleCommand
public ScheduleCommand()
-
-
方法详细资料
-
register
-
schedule
private static int schedule(CommandSourceStack pSource, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction, throws com.mojang.brigadier.exceptions.CommandSyntaxExceptionCollection<CommandFunction>>> pFunction, int pTime, boolean pAppend) - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
remove
private static int remove(CommandSourceStack pSource, String pFunction) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-