Class Game.Metrics

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

static class Game.Metrics 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

    • Metrics

      public Metrics(int p_90752_, int p_90753_, int p_90754_, int p_90755_)
  • 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