Package net.minecraft.util.profiling.jfr
Enum Class InstanceType
- All Implemented Interfaces:
Serializable
,Comparable<InstanceType>
,Constable
- Mappings:
Namespace Name named net/minecraft/util/profiling/jfr/InstanceType
intermediary net/minecraft/class_6506
official bno
-
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 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
Lbno;a:Lbno;
-
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
Lbno;b:Lbno;
-
-
Field Details
-
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
Lbno;c:Ljava/lang/String;
-
-
Constructor Details
-
InstanceType
- 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>
Lbno;<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 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
Lbno;a(Lnet/minecraft/server/MinecraftServer;)Lbno;
-
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
Lbno;a()Ljava/lang/String;
-