Package net.minecraft.server.command
Class ScheduleCommand
java.lang.Object
net.minecraft.server.command.ScheduleCommand
public class ScheduleCommand extends Object
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeCLEARED_FAILURE_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeSAME_TICK_EXCEPTIONprivate static com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource>SUGGESTION_PROVIDER -
Constructor Summary
Constructors Constructor Description ScheduleCommand() -
Method Summary
Modifier and Type Method Description private static intexecute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> pair, int int2, boolean bool)private static intmethod_22833(ServerCommandSource serverCommandSource, String string)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
SAME_TICK_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SAME_TICK_EXCEPTION -
CLEARED_FAILURE_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType CLEARED_FAILURE_EXCEPTION -
SUGGESTION_PROVIDER
private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
-
-
Constructor Details
-
ScheduleCommand
public ScheduleCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
execute
private static int execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> pair, int int2, boolean bool) -
method_22833
private static int method_22833(ServerCommandSource serverCommandSource, String string) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-