Enum SamplingChannel

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

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

    • EVENT_LOOP

      public static final SamplingChannel EVENT_LOOP
      Mappings:
      Namespace Name Mixin selector
      official a Laps;a:Laps;
      intermediary field_29551 Lnet/minecraft/class_5949;field_29551:Lnet/minecraft/class_5949;
      named EVENT_LOOP Lnet/minecraft/client/util/profiler/SamplingChannel;EVENT_LOOP:Lnet/minecraft/client/util/profiler/SamplingChannel;
    • MAIL_BOX

      public static final SamplingChannel MAIL_BOX
      Mappings:
      Namespace Name Mixin selector
      official b Laps;b:Laps;
      intermediary field_29552 Lnet/minecraft/class_5949;field_29552:Lnet/minecraft/class_5949;
      named MAIL_BOX Lnet/minecraft/client/util/profiler/SamplingChannel;MAIL_BOX:Lnet/minecraft/client/util/profiler/SamplingChannel;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Laps;c:Ljava/lang/String;
      intermediary field_29553 Lnet/minecraft/class_5949;field_29553:Ljava/lang/String;
      named name Lnet/minecraft/client/util/profiler/SamplingChannel;name:Ljava/lang/String;
  • Constructor Details

    • SamplingChannel

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

    • values

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

      public static SamplingChannel valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

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