Class ScheduleCommand

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

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

    • SAME_TICK_EXCEPTION

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

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

      private static final com.mojang.brigadier.suggestion.SuggestionProvider<ServerCommandSource> SUGGESTION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official c Ladj;c:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      intermediary field_20854 Lnet/minecraft/class_3112;field_20854:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
      named SUGGESTION_PROVIDER Lnet/minecraft/server/command/ScheduleCommand;SUGGESTION_PROVIDER: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
      official a Ladj;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13567 Lnet/minecraft/class_3112;method_13567(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/ScheduleCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • execute

      private static int execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Collection<CommandFunction>>> function, int time, boolean replace) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Ladj;a(Ldr;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
      named execute Lnet/minecraft/server/command/ScheduleCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;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
      official a Ladj;a(Ldr;Ljava/lang/String;)I
      intermediary method_22833 Lnet/minecraft/class_3112;method_22833(Lnet/minecraft/class_2168;Ljava/lang/String;)I
      named clearEvent Lnet/minecraft/server/command/ScheduleCommand;clearEvent(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I