类 ScheduleCommand


  • public class ScheduleCommand
    extends Object
    Mappings:
    Namespace Name
    official zf
    intermediary net/minecraft/class_3112
    named net/minecraft/server/command/ScheduleCommand
    • 字段详细资料

      • SAME_TICK_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SAME_TICK_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lzf;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 Lzf;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 Lzf;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;
    • 构造器详细资料

      • ScheduleCommand

        public ScheduleCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lzf;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,​Tag<CommandFunction>>> function,
                                   int time,
                                   boolean replace)
                            throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lzf;a(Ldg;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
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lzf;a(Ldg;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