Package net.minecraft.util.profiler
Enum Class ServerTickType
- All Implemented Interfaces:
Serializable
,Comparable<ServerTickType>
,Constable
- Mappings:
Namespace Name official bkr
intermediary net/minecraft/class_9160
named net/minecraft/util/profiler/ServerTickType
-
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 ServerTickType
Returns the enum constant of this class with the specified name.static ServerTickType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL_TICK
- Mappings:
Namespace Name Mixin selector official a
Lbkr;a:Lbkr;
intermediary field_48718
Lnet/minecraft/class_9160;field_48718:Lnet/minecraft/class_9160;
named FULL_TICK
Lnet/minecraft/util/profiler/ServerTickType;FULL_TICK:Lnet/minecraft/util/profiler/ServerTickType;
-
TICK_SERVER_METHOD
- Mappings:
Namespace Name Mixin selector official b
Lbkr;b:Lbkr;
intermediary field_48719
Lnet/minecraft/class_9160;field_48719:Lnet/minecraft/class_9160;
named TICK_SERVER_METHOD
Lnet/minecraft/util/profiler/ServerTickType;TICK_SERVER_METHOD:Lnet/minecraft/util/profiler/ServerTickType;
-
SCHEDULED_TASKS
- Mappings:
Namespace Name Mixin selector official c
Lbkr;c:Lbkr;
intermediary field_48720
Lnet/minecraft/class_9160;field_48720:Lnet/minecraft/class_9160;
named SCHEDULED_TASKS
Lnet/minecraft/util/profiler/ServerTickType;SCHEDULED_TASKS:Lnet/minecraft/util/profiler/ServerTickType;
-
IDLE
- Mappings:
Namespace Name Mixin selector official d
Lbkr;d:Lbkr;
intermediary field_48721
Lnet/minecraft/class_9160;field_48721:Lnet/minecraft/class_9160;
named IDLE
Lnet/minecraft/util/profiler/ServerTickType;IDLE:Lnet/minecraft/util/profiler/ServerTickType;
-
-
Constructor Details
-
ServerTickType
private ServerTickType()
-
-
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
-