Package net.minecraft.util.profiler
Enum Class ServerTickType
- All Implemented Interfaces:
Serializable,Comparable<ServerTickType>,Constable
- Mappings:
Namespace Name official bjcintermediary net/minecraft/class_9160named 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 ServerTickTypeReturns 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 aLbjc;a:Lbjc;intermediary field_48718Lnet/minecraft/class_9160;field_48718:Lnet/minecraft/class_9160;named FULL_TICKLnet/minecraft/util/profiler/ServerTickType;FULL_TICK:Lnet/minecraft/util/profiler/ServerTickType;
-
TICK_SERVER_METHOD
- Mappings:
Namespace Name Mixin selector official bLbjc;b:Lbjc;intermediary field_48719Lnet/minecraft/class_9160;field_48719:Lnet/minecraft/class_9160;named TICK_SERVER_METHODLnet/minecraft/util/profiler/ServerTickType;TICK_SERVER_METHOD:Lnet/minecraft/util/profiler/ServerTickType;
-
SCHEDULED_TASKS
- Mappings:
Namespace Name Mixin selector official cLbjc;c:Lbjc;intermediary field_48720Lnet/minecraft/class_9160;field_48720:Lnet/minecraft/class_9160;named SCHEDULED_TASKSLnet/minecraft/util/profiler/ServerTickType;SCHEDULED_TASKS:Lnet/minecraft/util/profiler/ServerTickType;
-
IDLE
- Mappings:
Namespace Name Mixin selector official dLbjc;d:Lbjc;intermediary field_48721Lnet/minecraft/class_9160;field_48721:Lnet/minecraft/class_9160;named IDLELnet/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
-