Class MinecraftClientGame.PerformanceMetricsImpl

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

@Environment(CLIENT) private static class MinecraftClientGame.PerformanceMetricsImpl extends Object implements com.mojang.bridge.game.PerformanceMetrics
Mappings:
Namespace Name
official efm$a
intermediary net/minecraft/class_3799$class_3800
named net/minecraft/client/MinecraftClientGame$PerformanceMetricsImpl
  • Field Details

    • minTime

      private final int minTime
      Mappings:
      Namespace Name Mixin selector
      official a Lefm$a;a:I
      intermediary field_16761 Lnet/minecraft/class_3799$class_3800;field_16761:I
      named minTime Lnet/minecraft/client/MinecraftClientGame$PerformanceMetricsImpl;minTime:I
    • maxTime

      private final int maxTime
      Mappings:
      Namespace Name Mixin selector
      official b Lefm$a;b:I
      intermediary field_16760 Lnet/minecraft/class_3799$class_3800;field_16760:I
      named maxTime Lnet/minecraft/client/MinecraftClientGame$PerformanceMetricsImpl;maxTime:I
    • averageTime

      private final int averageTime
      Mappings:
      Namespace Name Mixin selector
      official c Lefm$a;c:I
      intermediary field_16759 Lnet/minecraft/class_3799$class_3800;field_16759:I
      named averageTime Lnet/minecraft/client/MinecraftClientGame$PerformanceMetricsImpl;averageTime:I
    • sampleCount

      private final int sampleCount
      Mappings:
      Namespace Name Mixin selector
      official d Lefm$a;d:I
      intermediary field_16758 Lnet/minecraft/class_3799$class_3800;field_16758:I
      named sampleCount Lnet/minecraft/client/MinecraftClientGame$PerformanceMetricsImpl;sampleCount:I
  • Constructor Details

    • PerformanceMetricsImpl

      public PerformanceMetricsImpl(int minTime, int maxTime, int averageTime, int sampleCount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lefm$a;<init>(IIII)V
      intermediary <init> Lnet/minecraft/class_3799$class_3800;<init>(IIII)V
      named <init> Lnet/minecraft/client/MinecraftClientGame$PerformanceMetricsImpl;<init>(IIII)V
  • 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