Class TPSCommand

java.lang.Object
net.neoforged.neoforge.server.command.TPSCommand

class TPSCommand extends Object
  • Field Details

    • TIME_FORMATTER

      private static final DecimalFormat TIME_FORMATTER
    • UNLOADED

      private static final long[] UNLOADED
  • Constructor Details

    • TPSCommand

      TPSCommand()
  • Method Details

    • register

      static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,?> register()
    • sendTime

      private static int sendTime(CommandSourceStack cs, ServerLevel dim) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • mean

      private static long mean(long[] values)