Package net.minecraft.server.commands
Class ScheduleCommand
java.lang.Object
net.minecraft.server.commands.ScheduleCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSourceStack> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138420_) private static int
remove
(CommandSourceStack p_138434_, String p_138435_) private static int
schedule
(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> p_138430_, int p_138431_, boolean p_138432_)
-
Field Details
-
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
-
-
Constructor Details
-
ScheduleCommand
public ScheduleCommand()
-
-
Method Details
-
register
-
schedule
private static int schedule(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction<CommandSourceStack>, throws com.mojang.brigadier.exceptions.CommandSyntaxExceptionCollection<CommandFunction<CommandSourceStack>>>> p_138430_, int p_138431_, boolean p_138432_) - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
remove
private static int remove(CommandSourceStack p_138434_, String p_138435_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-