类 SetPlayerIdleTimeoutCommand

java.lang.Object
net.minecraft.server.commands.SetPlayerIdleTimeoutCommand

public class SetPlayerIdleTimeoutCommand extends Object
  • 构造器详细资料

    • SetPlayerIdleTimeoutCommand

      public SetPlayerIdleTimeoutCommand()
  • 方法详细资料

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher)
    • setIdleTimeout

      private static int setIdleTimeout(CommandSourceStack pSource, int pIdleTimeout)