Package net.minecraft.command.impl
Class ScheduleCommand
java.lang.Object
net.minecraft.command.impl.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<CommandSource>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(com.mojang.brigadier.CommandDispatcher<CommandSource> p_218909_0_) private static int
remove
(CommandSource p_229817_0_, String p_229817_1_) private static int
schedule
(CommandSource p_241063_0_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<FunctionObject, ITag<FunctionObject>>> p_241063_1_, int p_241063_2_, boolean p_241063_3_)
-
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<CommandSource> SUGGEST_SCHEDULE
-
-
Constructor Details
-
ScheduleCommand
public ScheduleCommand()
-
-
Method Details
-
register
-
schedule
private static int schedule(CommandSource p_241063_0_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<FunctionObject, throws com.mojang.brigadier.exceptions.CommandSyntaxExceptionITag<FunctionObject>>> p_241063_1_, int p_241063_2_, boolean p_241063_3_) - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
remove
private static int remove(CommandSource p_229817_0_, String p_229817_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-