Class CommandTps

java.lang.Object
net.minecraftforge.server.command.CommandTps

class CommandTps extends Object
  • Field Details

    • TIME_FORMATTER

      private static final DecimalFormat TIME_FORMATTER
    • UNLOADED

      private static final long[] UNLOADED
  • Constructor Details

    • CommandTps

      CommandTps()
  • 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)