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
named net/minecraft/util/profiling/jfr/InstanceType
intermediary net/minecraft/class_6506
official bpy
  • Enum Constant Details

    • CLIENT

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

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

    • name

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

    • InstanceType

      private InstanceType(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/profiling/jfr/InstanceType;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_6506;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lbpy;<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
      named get Lnet/minecraft/util/profiling/jfr/InstanceType;get(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/util/profiling/jfr/InstanceType;
      intermediary method_37987 Lnet/minecraft/class_6506;method_37987(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/class_6506;
      official a Lbpy;a(Lnet/minecraft/server/MinecraftServer;)Lbpy;
    • getName

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