Enum Class DebugProfileType

java.lang.Object
java.lang.Enum<DebugProfileType>
net.minecraft.client.gui.hud.debug.DebugProfileType
All Implemented Interfaces:
Serializable, Comparable<DebugProfileType>, Constable, StringIdentifiable

@Environment(CLIENT) public enum DebugProfileType extends Enum<DebugProfileType> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/debug/DebugProfileType
intermediary net/minecraft/class_11636
official gjn
  • Enum Constant Details

    • DEFAULT

      public static final DebugProfileType DEFAULT
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT Lnet/minecraft/client/gui/hud/debug/DebugProfileType;DEFAULT:Lnet/minecraft/client/gui/hud/debug/DebugProfileType;
      intermediary field_61599 Lnet/minecraft/class_11636;field_61599:Lnet/minecraft/class_11636;
      official a Lgjn;a:Lgjn;
    • PERFORMANCE

      public static final DebugProfileType PERFORMANCE
      Mappings:
      Namespace Name Mixin selector
      named PERFORMANCE Lnet/minecraft/client/gui/hud/debug/DebugProfileType;PERFORMANCE:Lnet/minecraft/client/gui/hud/debug/DebugProfileType;
      intermediary field_61600 Lnet/minecraft/class_11636;field_61600:Lnet/minecraft/class_11636;
      official b Lgjn;b:Lgjn;
  • Field Details

    • CODEC

      public static final StringIdentifiable.EnumCodec<DebugProfileType> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/gui/hud/debug/DebugProfileType;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_61601 Lnet/minecraft/class_11636;field_61601:Lnet/minecraft/class_3542$class_7292;
      official c Lgjn;c:Lbhg$a;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/client/gui/hud/debug/DebugProfileType;id:Ljava/lang/String;
      intermediary field_61602 Lnet/minecraft/class_11636;field_61602:Ljava/lang/String;
      official d Lgjn;d:Ljava/lang/String;
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      named translationKey Lnet/minecraft/client/gui/hud/debug/DebugProfileType;translationKey:Ljava/lang/String;
      intermediary field_61603 Lnet/minecraft/class_11636;field_61603:Ljava/lang/String;
      official e Lgjn;e:Ljava/lang/String;
  • Constructor Details

    • DebugProfileType

      private DebugProfileType(String id, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/debug/DebugProfileType;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_11636;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
      official <init> Lgjn;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static DebugProfileType[] 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 DebugProfileType 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
    • getTranslationKey

      public String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      named getTranslationKey Lnet/minecraft/client/gui/hud/debug/DebugProfileType;getTranslationKey()Ljava/lang/String;
      intermediary method_72782 Lnet/minecraft/class_11636;method_72782()Ljava/lang/String;
      official a Lgjn;a()Ljava/lang/String;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbhg;c()Ljava/lang/String;