Package net.minecraft.util.profiling.jfr
Enum Class InstanceType
- All Implemented Interfaces:
Serializable
,Comparable<InstanceType>
,Constable
- Mappings:
Namespace Name official axd
intermediary net/minecraft/class_6506
named net/minecraft/util/profiling/jfr/InstanceType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InstanceType
get
(MinecraftServer server) getName()
static InstanceType
Returns the enum constant of this class with the specified name.static InstanceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLIENT
- Mappings:
Namespace Name Mixin selector official a
Laxd;a:Laxd;
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
- Mappings:
Namespace Name Mixin selector official b
Laxd;b:Laxd;
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
- Mappings:
Namespace Name Mixin selector official c
Laxd;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
- Mappings:
Namespace Name Mixin selector official <init>
Laxd;<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
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
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 nameNullPointerException
- if the argument is null
-
get
- Mappings:
Namespace Name Mixin selector official a
Laxd;a(Lnet/minecraft/server/MinecraftServer;)Laxd;
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
- Mappings:
Namespace Name Mixin selector official a
Laxd;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;
-