Class ScheduleCommand

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

public class ScheduleCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/ScheduleCommand
intermediary net/minecraft/class_3112
official apo
  • Field Details

    • SAME_TICK_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SAME_TICK_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named SAME_TICK_EXCEPTION Lnet/minecraft/server/command/ScheduleCommand;SAME_TICK_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13706 Lnet/minecraft/class_3112;field_13706:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official a Lapo;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • CLEARED_FAILURE_EXCEPTION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType CLEARED_FAILURE_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named CLEARED_FAILURE_EXCEPTION Lnet/minecraft/server/command/ScheduleCommand;CLEARED_FAILURE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_20853 Lnet/minecraft/class_3112;field_20853:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      official b Lapo;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • MACRO_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType MACRO_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named MACRO_EXCEPTION Lnet/minecraft/server/command/ScheduleCommand;MACRO_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_52349 Lnet/minecraft/class_3112;field_52349:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official c Lapo;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • SUGGESTION_PROVIDER

      private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      named SUGGESTION_PROVIDER Lnet/minecraft/server/command/ScheduleCommand;SUGGESTION_PROVIDER:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      intermediary field_20854 Lnet/minecraft/class_3112;field_20854:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      official d Lapo;d:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
  • Constructor Details

    • ScheduleCommand

      public ScheduleCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/server/command/ScheduleCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13567 Lnet/minecraft/class_3112;method_13567(Lcom/mojang/brigadier/CommandDispatcher;)V
      official a Lapo;a(Lcom/mojang/brigadier/CommandDispatcher;)V
    • execute

      private static int execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction<ServerCommandSource>,Collection<CommandFunction<ServerCommandSource>>>> function, int time, boolean replace) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named execute Lnet/minecraft/server/command/ScheduleCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lcom/mojang/datafixers/util/Pair;IZ)I
      intermediary method_13566 Lnet/minecraft/class_3112;method_13566(Lnet/minecraft/class_2168;Lcom/mojang/datafixers/util/Pair;IZ)I
      official a Lapo;a(Lew;Lcom/mojang/datafixers/util/Pair;IZ)I
    • clearEvent

      private static int clearEvent(ServerCommandSource source, String eventName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named clearEvent Lnet/minecraft/server/command/ScheduleCommand;clearEvent(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
      intermediary method_22833 Lnet/minecraft/class_3112;method_22833(Lnet/minecraft/class_2168;Ljava/lang/String;)I
      official a Lapo;a(Lew;Ljava/lang/String;)I