Package net.minecraft.util.profiling.jfr
Enum Class JfrProfiler.InstanceType
- All Implemented Interfaces:
Serializable,Comparable<JfrProfiler.InstanceType>,Constable
- Enclosing class:
- JfrProfiler
- Mappings:
Namespace Name official aqc$aintermediary net/minecraft/class_6419$class_6420named net/minecraft/util/profiling/jfr/JfrProfiler$InstanceType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JfrProfiler.InstanceTypeget(MinecraftServer server) static JfrProfiler.InstanceTypeReturns the enum constant of this class with the specified name.static JfrProfiler.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 aLaqc$a;a:Laqc$a;intermediary field_34072Lnet/minecraft/class_6419$class_6420;field_34072:Lnet/minecraft/class_6419$class_6420;named CLIENTLnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;CLIENT:Lnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;
-
SERVER
- Mappings:
Namespace Name Mixin selector official bLaqc$a;b:Laqc$a;intermediary field_34073Lnet/minecraft/class_6419$class_6420;field_34073:Lnet/minecraft/class_6419$class_6420;named SERVERLnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;SERVER:Lnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;
-
-
Constructor Details
-
InstanceType
private InstanceType()
-
-
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 aLaqc$a;a(Lnet/minecraft/server/MinecraftServer;)Laqc$a;intermediary method_37500Lnet/minecraft/class_6419$class_6420;method_37500(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/class_6419$class_6420;named getLnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;get(Lnet/minecraft/server/MinecraftServer;)Lnet/minecraft/util/profiling/jfr/JfrProfiler$InstanceType;
-