Class MinecraftGame.MinecraftPerformanceMetrics

java.lang.Object
net.minecraft.client.MinecraftGame.MinecraftPerformanceMetrics
All Implemented Interfaces:
com.mojang.bridge.game.PerformanceMetrics
Enclosing class:
MinecraftGame

static class MinecraftGame.MinecraftPerformanceMetrics extends Object implements com.mojang.bridge.game.PerformanceMetrics
  • Field Details

    • min

      private final int min
    • max

      private final int max
    • average

      private final int average
    • samples

      private final int samples
  • Constructor Details

    • MinecraftPerformanceMetrics

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

    • 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