Package net.minecraft.command.impl
Class ScheduleCommand
- java.lang.Object
-
- net.minecraft.command.impl.ScheduleCommand
-
public class ScheduleCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_CANT_REMOVE
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SAME_TICK
private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
SUGGEST_SCHEDULE
-
Constructor Summary
Constructors Constructor Description ScheduleCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_218909_0_)
private static int
remove(CommandSource p_229817_0_, java.lang.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 Detail
-
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
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_218909_0_)
-
schedule
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_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
remove
private static int remove(CommandSource p_229817_0_, java.lang.String p_229817_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-