Class 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()  
    • 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
    • Constructor Detail

      • ScheduleCommand

        public ScheduleCommand()
    • 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