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 bra
  • 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 Lbra;a:Lbra;
    • 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 Lbra;b:Lbra;
    • CONSECUTIVE_EXECUTORS

      public static final SampleType CONSECUTIVE_EXECUTORS
      Mappings:
      Namespace Name Mixin selector
      named CONSECUTIVE_EXECUTORS Lnet/minecraft/util/profiler/SampleType;CONSECUTIVE_EXECUTORS:Lnet/minecraft/util/profiler/SampleType;
      intermediary field_54068 Lnet/minecraft/class_5949;field_54068:Lnet/minecraft/class_5949;
      official c Lbra;c:Lbra;
    • 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 Lbra;d:Lbra;
    • 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 Lbra;e:Lbra;
    • 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 Lbra;f:Lbra;
    • 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 Lbra;g:Lbra;
    • 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 Lbra;h:Lbra;
    • 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 Lbra;i:Lbra;
  • 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 Lbra;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> Lbra;<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 Lbra;a()Ljava/lang/String;