Enum Class JfrProfiler.InstanceType

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

public static enum JfrProfiler.InstanceType extends Enum<JfrProfiler.InstanceType>
Mappings:
Namespace Name
official aqc$a
intermediary net/minecraft/class_6419$class_6420
named net/minecraft/util/profiling/jfr/JfrProfiler$InstanceType
  • Enum Constant Details

    • CLIENT

      public static final JfrProfiler.InstanceType CLIENT
      Mappings:
      Namespace Name Mixin selector
      official a Laqc$a;a:Laqc$a;
      intermediary field_34072 Lnet/minecraft/class_6419$class_6420;field_34072:Lnet/minecraft/class_6419$class_6420;
      named CLIENT Lnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;CLIENT:Lnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;
    • SERVER

      public static final JfrProfiler.InstanceType SERVER
      Mappings:
      Namespace Name Mixin selector
      official b Laqc$a;b:Laqc$a;
      intermediary field_34073 Lnet/minecraft/class_6419$class_6420;field_34073:Lnet/minecraft/class_6419$class_6420;
      named SERVER Lnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;SERVER:Lnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;
  • Constructor Details

    • InstanceType

      private InstanceType()
  • Method Details

    • values

      public static JfrProfiler.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 JfrProfiler.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 JfrProfiler.InstanceType get(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official a Laqc$a;a(Lnet/minecraft/server/MinecraftServer;)Laqc$a;
      intermediary method_37500 Lnet/minecraft/class_6419$class_6420;method_37500(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/class_6419$class_6420;
      named get Lnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;get(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;