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/InstanceTypeintermediary net/minecraft/class_6506official bpa
-
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 InstanceTypeget(MinecraftServer server) getName()static InstanceTypeReturns 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 CLIENTLnet/minecraft/util/profiling/jfr/InstanceType;CLIENT:Lnet/minecraft/util/profiling/jfr/InstanceType;intermediary field_34412Lnet/minecraft/class_6506;field_34412:Lnet/minecraft/class_6506;official aLbpa;a:Lbpa;
-
SERVER
- Mappings:
Namespace Name Mixin selector named SERVERLnet/minecraft/util/profiling/jfr/InstanceType;SERVER:Lnet/minecraft/util/profiling/jfr/InstanceType;intermediary field_34413Lnet/minecraft/class_6506;field_34413:Lnet/minecraft/class_6506;official bLbpa;b:Lbpa;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/util/profiling/jfr/InstanceType;name:Ljava/lang/String;intermediary field_34414Lnet/minecraft/class_6506;field_34414:Ljava/lang/String;official cLbpa;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;)Vintermediary <init>Lnet/minecraft/class_6506;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lbpa;<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 getLnet/minecraft/util/profiling/jfr/InstanceType;get(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/util/profiling/jfr/InstanceType;intermediary method_37987Lnet/minecraft/class_6506;method_37987(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/class_6506;official aLbpa;a(Lnet/minecraft/server/MinecraftServer;)Lbpa;
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/util/profiling/jfr/InstanceType;getName()Ljava/lang/String;intermediary method_37986Lnet/minecraft/class_6506;method_37986()Ljava/lang/String;official aLbpa;a()Ljava/lang/String;
-