Class MetricsData

java.lang.Object
net.minecraft.util.MetricsData

public class MetricsData extends Object
Mappings:
Namespace Name
official aoo
intermediary net/minecraft/class_3517
named net/minecraft/util/MetricsData
  • Field Details

    • SIZE

      public static final int SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Laoo;a:I
      intermediary field_29839 Lnet/minecraft/class_3517;field_29839:I
      named SIZE Lnet/minecraft/util/MetricsData;SIZE:I
    • samples

      private final long[] samples
      Mappings:
      Namespace Name Mixin selector
      official b Laoo;b:[J
      intermediary field_15653 Lnet/minecraft/class_3517;field_15653:[J
      named samples Lnet/minecraft/util/MetricsData;samples:[J
    • startIndex

      private int startIndex
      Mappings:
      Namespace Name Mixin selector
      official c Laoo;c:I
      intermediary field_15656 Lnet/minecraft/class_3517;field_15656:I
      named startIndex Lnet/minecraft/util/MetricsData;startIndex:I
    • sampleCount

      private int sampleCount
      Mappings:
      Namespace Name Mixin selector
      official d Laoo;d:I
      intermediary field_15655 Lnet/minecraft/class_3517;field_15655:I
      named sampleCount Lnet/minecraft/util/MetricsData;sampleCount:I
    • writeIndex

      private int writeIndex
      Mappings:
      Namespace Name Mixin selector
      official e Laoo;e:I
      intermediary field_15654 Lnet/minecraft/class_3517;field_15654:I
      named writeIndex Lnet/minecraft/util/MetricsData;writeIndex:I
  • Constructor Details

    • MetricsData

      public MetricsData()
  • Method Details

    • pushSample

      public void pushSample(long time)
      Mappings:
      Namespace Name Mixin selector
      official a Laoo;a(J)V
      intermediary method_15247 Lnet/minecraft/class_3517;method_15247(J)V
      named pushSample Lnet/minecraft/util/MetricsData;pushSample(J)V
    • average

      public long average(int offset)
      Mappings:
      Namespace Name Mixin selector
      official a Laoo;a(I)J
      intermediary method_34912 Lnet/minecraft/class_3517;method_34912(I)J
      named average Lnet/minecraft/util/MetricsData;average(I)J
    • method_34913

      public int method_34913(int offset, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Laoo;a(II)I
      intermediary method_34913 Lnet/minecraft/class_3517;method_34913(II)I
      named method_34913 Lnet/minecraft/util/MetricsData;method_34913(II)I
    • scaleSample

      public int scaleSample(long sample, int destScale, int srcScale)
      Mappings:
      Namespace Name Mixin selector
      official a Laoo;a(JII)I
      intermediary method_15248 Lnet/minecraft/class_3517;method_15248(JII)I
      named scaleSample Lnet/minecraft/util/MetricsData;scaleSample(JII)I
    • getStartIndex

      public int getStartIndex()
      Mappings:
      Namespace Name Mixin selector
      official a Laoo;a()I
      intermediary method_15249 Lnet/minecraft/class_3517;method_15249()I
      named getStartIndex Lnet/minecraft/util/MetricsData;getStartIndex()I
    • getCurrentIndex

      public int getCurrentIndex()
      Mappings:
      Namespace Name Mixin selector
      official b Laoo;b()I
      intermediary method_15250 Lnet/minecraft/class_3517;method_15250()I
      named getCurrentIndex Lnet/minecraft/util/MetricsData;getCurrentIndex()I
    • wrapIndex

      public int wrapIndex(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Laoo;b(I)I
      intermediary method_15251 Lnet/minecraft/class_3517;method_15251(I)I
      named wrapIndex Lnet/minecraft/util/MetricsData;wrapIndex(I)I
    • getSamples

      public long[] getSamples()
      Mappings:
      Namespace Name Mixin selector
      official c Laoo;c()[J
      intermediary method_15246 Lnet/minecraft/class_3517;method_15246()[J
      named getSamples Lnet/minecraft/util/MetricsData;getSamples()[J