Enum Class InstanceType

java.lang.Object
java.lang.Enum<InstanceType>
net.minecraft.util.profiling.jfr.InstanceType
All Implemented Interfaces:
Serializable, Comparable<InstanceType>, Constable

public enum InstanceType extends Enum<InstanceType>
Mappings:
Namespace Name
official azg
intermediary net/minecraft/class_6506
named net/minecraft/util/profiling/jfr/InstanceType
  • Enum Constant Details

    • CLIENT

      public static final InstanceType CLIENT
      Mappings:
      Namespace Name Mixin selector
      official a Lazg;a:Lazg;
      intermediary field_34412 Lnet/minecraft/class_6506;field_34412:Lnet/minecraft/class_6506;
      named CLIENT Lnet/minecraft/util/profiling/jfr/InstanceType;CLIENT:Lnet/minecraft/util/profiling/jfr/InstanceType;
    • SERVER

      public static final InstanceType SERVER
      Mappings:
      Namespace Name Mixin selector
      official b Lazg;b:Lazg;
      intermediary field_34413 Lnet/minecraft/class_6506;field_34413:Lnet/minecraft/class_6506;
      named SERVER Lnet/minecraft/util/profiling/jfr/InstanceType;SERVER:Lnet/minecraft/util/profiling/jfr/InstanceType;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Lazg;c:Ljava/lang/String;
      intermediary field_34414 Lnet/minecraft/class_6506;field_34414:Ljava/lang/String;
      named name Lnet/minecraft/util/profiling/jfr/InstanceType;name:Ljava/lang/String;
  • Constructor Details

    • InstanceType

      private InstanceType(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lazg;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_6506;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/util/profiling/jfr/InstanceType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static InstanceType[] 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 InstanceType 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
    • get

      public static InstanceType get(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official a Lazg;a(Lnet/minecraft/server/MinecraftServer;)Lazg;
      intermediary method_37987 Lnet/minecraft/class_6506;method_37987(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/class_6506;
      named get Lnet/minecraft/util/profiling/jfr/InstanceType;get(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/util/profiling/jfr/InstanceType;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lazg;a()Ljava/lang/String;
      intermediary method_37986 Lnet/minecraft/class_6506;method_37986()Ljava/lang/String;
      named getName Lnet/minecraft/util/profiling/jfr/InstanceType;getName()Ljava/lang/String;