类 SetIdleTimeoutCommand


  • public class SetIdleTimeoutCommand
    extends Object
    Mappings:
    Namespace Name
    official zj
    intermediary net/minecraft/class_3123
    named net/minecraft/server/dedicated/command/SetIdleTimeoutCommand
    • 构造器详细资料

      • SetIdleTimeoutCommand

        public SetIdleTimeoutCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lzj;a(Lcom/mojang/brigadier/CommandDispatcher;)V
        intermediary method_13631 Lnet/minecraft/class_3123;method_13631(Lcom/mojang/brigadier/CommandDispatcher;)V
        named register Lnet/minecraft/server/dedicated/command/SetIdleTimeoutCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      • execute

        private static int execute​(ServerCommandSource source,
                                   int minutes)
        Mappings:
        Namespace Name Mixin selector
        official a Lzj;a(Ldg;I)I
        intermediary method_13630 Lnet/minecraft/class_3123;method_13630(Lnet/minecraft/class_2168;I)I
        named execute Lnet/minecraft/server/dedicated/command/SetIdleTimeoutCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;I)I