Class MinecraftGame.MinecraftPerformanceMetrics

  • All Implemented Interfaces:
    com.mojang.bridge.game.PerformanceMetrics
    Enclosing class:
    MinecraftGame

    static class MinecraftGame.MinecraftPerformanceMetrics
    extends java.lang.Object
    implements com.mojang.bridge.game.PerformanceMetrics
    • Field Detail

      • min

        private final int min
      • max

        private final int max
      • average

        private final int average
      • samples

        private final int samples
    • Constructor Detail

      • MinecraftPerformanceMetrics

        public MinecraftPerformanceMetrics​(int p_i51282_1_,
                                           int p_i51282_2_,
                                           int p_i51282_3_,
                                           int p_i51282_4_)
    • Method Detail

      • getMinTime

        public int getMinTime()
        Specified by:
        getMinTime in interface com.mojang.bridge.game.PerformanceMetrics
      • getMaxTime

        public int getMaxTime()
        Specified by:
        getMaxTime in interface com.mojang.bridge.game.PerformanceMetrics
      • getAverageTime

        public int getAverageTime()
        Specified by:
        getAverageTime in interface com.mojang.bridge.game.PerformanceMetrics
      • getSampleCount

        public int getSampleCount()
        Specified by:
        getSampleCount in interface com.mojang.bridge.game.PerformanceMetrics