Enum Class SampleType

java.lang.Object
java.lang.Enum<SampleType>
net.minecraft.util.profiler.SampleType
All Implemented Interfaces:
Serializable, Comparable<SampleType>, Constable

public enum SampleType extends Enum<SampleType>
Mappings:
Namespace Name
named net/minecraft/util/profiler/SampleType
intermediary net/minecraft/class_5949
official bob
  • Enum Constant Details

    • PATH_FINDING

      public static final SampleType PATH_FINDING
      Mappings:
      Namespace Name Mixin selector
      named PATH_FINDING Lnet/minecraft/util/profiler/SampleType;PATH_FINDING:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_33876 Lnet/minecraft/class_5949;field_33876:Lnet/minecraft/class_5949;
      official a Lbob;a:Lbob;
    • EVENT_LOOPS

      public static final SampleType EVENT_LOOPS
      Mappings:
      Namespace Name Mixin selector
      named EVENT_LOOPS Lnet/minecraft/util/profiler/SampleType;EVENT_LOOPS:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_29551 Lnet/minecraft/class_5949;field_29551:Lnet/minecraft/class_5949;
      official b Lbob;b:Lbob;
    • MAIL_BOXES

      public static final SampleType MAIL_BOXES
      Mappings:
      Namespace Name Mixin selector
      named MAIL_BOXES Lnet/minecraft/util/profiler/SampleType;MAIL_BOXES:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_29552 Lnet/minecraft/class_5949;field_29552:Lnet/minecraft/class_5949;
      official c Lbob;c:Lbob;
    • TICK_LOOP

      public static final SampleType TICK_LOOP
      Mappings:
      Namespace Name Mixin selector
      named TICK_LOOP Lnet/minecraft/util/profiler/SampleType;TICK_LOOP:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_33877 Lnet/minecraft/class_5949;field_33877:Lnet/minecraft/class_5949;
      official d Lbob;d:Lbob;
    • JVM

      public static final SampleType JVM
      Mappings:
      Namespace Name Mixin selector
      named JVM Lnet/minecraft/util/profiler/SampleType;JVM:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_33878 Lnet/minecraft/class_5949;field_33878:Lnet/minecraft/class_5949;
      official e Lbob;e:Lbob;
    • CHUNK_RENDERING

      public static final SampleType CHUNK_RENDERING
      Mappings:
      Namespace Name Mixin selector
      named CHUNK_RENDERING Lnet/minecraft/util/profiler/SampleType;CHUNK_RENDERING:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_33879 Lnet/minecraft/class_5949;field_33879:Lnet/minecraft/class_5949;
      official f Lbob;f:Lbob;
    • CHUNK_RENDERING_DISPATCHING

      public static final SampleType CHUNK_RENDERING_DISPATCHING
      Mappings:
      Namespace Name Mixin selector
      named CHUNK_RENDERING_DISPATCHING Lnet/minecraft/util/profiler/SampleType;CHUNK_RENDERING_DISPATCHING:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_33880 Lnet/minecraft/class_5949;field_33880:Lnet/minecraft/class_5949;
      official g Lbob;g:Lbob;
    • CPU

      public static final SampleType CPU
      Mappings:
      Namespace Name Mixin selector
      named CPU Lnet/minecraft/util/profiler/SampleType;CPU:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_33881 Lnet/minecraft/class_5949;field_33881:Lnet/minecraft/class_5949;
      official h Lbob;h:Lbob;
    • GPU

      public static final SampleType GPU
      Mappings:
      Namespace Name Mixin selector
      named GPU Lnet/minecraft/util/profiler/SampleType;GPU:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_37416 Lnet/minecraft/class_5949;field_37416:Lnet/minecraft/class_5949;
      official i Lbob;i:Lbob;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/util/profiler/SampleType;name:Ljava/lang/String;
      intermediary field_29553 Lnet/minecraft/class_5949;field_29553:Ljava/lang/String;
      official j Lbob;j:Ljava/lang/String;
  • Constructor Details

    • SampleType

      private SampleType(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/profiler/SampleType;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5949;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lbob;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static SampleType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SampleType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/util/profiler/SampleType;getName()Ljava/lang/String;
      intermediary method_34700 Lnet/minecraft/class_5949;method_34700()Ljava/lang/String;
      official a Lbob;a()Ljava/lang/String;