Class CommandTps


  • class CommandTps
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.text.DecimalFormat TIME_FORMATTER  
      private static long[] UNLOADED  
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandTps()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static long mean​(long[] values)  
      (package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,​?> register()  
      private static int sendTime​(CommandSource cs, ServerWorld dim)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TIME_FORMATTER

        private static final java.text.DecimalFormat TIME_FORMATTER
      • UNLOADED

        private static final long[] UNLOADED
    • Constructor Detail

      • CommandTps

        CommandTps()
    • Method Detail

      • register

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

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

        private static long mean​(long[] values)