类 ScheduleCommand

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

public class ScheduleCommand extends Object
  • 字段详细资料

    • 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
  • 构造器详细资料

    • ScheduleCommand

      public ScheduleCommand()
  • 方法详细资料

    • register

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

      private static int schedule(CommandSourceStack pSource, com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Collection<CommandFunction>>> pFunction, int pTime, boolean pAppend) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • remove

      private static int remove(CommandSourceStack pSource, String pFunction) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException