Class Profiler.Section

java.lang.Object
net.minecraft.util.profiler.Profiler.Section
All Implemented Interfaces:
Comparable<Profiler.Section>
Enclosing class:
Profiler

public static final class Profiler.Section extends Object implements Comparable<Profiler.Section>
Mappings:
Namespace Name
official xr$a
intermediary net/minecraft/class_839$class_840
named net/minecraft/util/profiler/Profiler$Section
  • Field Details

    • relativePercentage

      public double relativePercentage
      Mappings:
      Namespace Name Mixin selector
      official a Lxr$a;a:D
      intermediary field_3095 Lnet/minecraft/class_839$class_840;field_3095:D
      named relativePercentage Lnet/minecraft/util/profiler/Profiler$Section;relativePercentage:D
    • absolutePercentage

      public double absolutePercentage
      Mappings:
      Namespace Name Mixin selector
      official b Lxr$a;b:D
      intermediary field_3096 Lnet/minecraft/class_839$class_840;field_3096:D
      named absolutePercentage Lnet/minecraft/util/profiler/Profiler$Section;absolutePercentage:D
    • name

      public String name
      Mappings:
      Namespace Name Mixin selector
      official c Lxr$a;c:Ljava/lang/String;
      intermediary field_3097 Lnet/minecraft/class_839$class_840;field_3097:Ljava/lang/String;
      named name Lnet/minecraft/util/profiler/Profiler$Section;name:Ljava/lang/String;
  • Constructor Details

    • Section

      public Section(String name, double relativePercentage, double absolutePercentage)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxr$a;<init>(Ljava/lang/String;DD)V
      intermediary <init> Lnet/minecraft/class_839$class_840;<init>(Ljava/lang/String;DD)V
      named <init> Lnet/minecraft/util/profiler/Profiler$Section;<init>(Ljava/lang/String;DD)V
  • Method Details

    • compareTo

      public int compareTo(Profiler.Section section)
      Specified by:
      compareTo in interface Comparable<Profiler.Section>
      Mappings:
      Namespace Name Mixin selector
      official a Lxr$a;a(Lxr$a;)I
      intermediary method_2362 Lnet/minecraft/class_839$class_840;method_2362(Lnet/minecraft/class_839$class_840;)I
      named compareTo Lnet/minecraft/util/profiler/Profiler$Section;compareTo(Lnet/minecraft/util/profiler/Profiler$Section;)I
    • getColor

      @Environment(CLIENT) public int getColor()
      Mappings:
      Namespace Name Mixin selector
      official a Lxr$a;a()I
      intermediary method_2361 Lnet/minecraft/class_839$class_840;method_2361()I
      named getColor Lnet/minecraft/util/profiler/Profiler$Section;getColor()I