Class SetIdleTimeoutCommand

java.lang.Object
net.minecraft.server.dedicated.command.SetIdleTimeoutCommand

public class SetIdleTimeoutCommand extends Object
Mappings:
Namespace Name
official abi
intermediary net/minecraft/class_3123
named net/minecraft/server/dedicated/command/SetIdleTimeoutCommand
  • Constructor Details

    • SetIdleTimeoutCommand

      public SetIdleTimeoutCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Labi;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 Labi;a(Ldm;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