Package net.minecraft.server.commands
Class ScheduleCommand
java.lang.Object
net.minecraft.server.commands.ScheduleCommand
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138420_) private static intremove(CommandSourceStack p_138434_, String p_138435_) private static intschedule(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<CommandFunction, Collection<CommandFunction>>> 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, throws com.mojang.brigadier.exceptions.CommandSyntaxExceptionCollection<CommandFunction>>> 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
 
 -