Class ScheduleCommand

java.lang.Object
net.minecraft.server.commands.ScheduleCommand

public class ScheduleCommand extends Object
  • 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

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138420_)
    • schedule

      private static int schedule(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_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      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