Package net.minecraft.client.option
Enum Class InactivityFpsLimit
- All Implemented Interfaces:
Serializable,Comparable<InactivityFpsLimit>,Constable,StringIdentifiable
@Environment(CLIENT)
public enum InactivityFpsLimit
extends Enum<InactivityFpsLimit>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/client/option/InactivityFpsLimitintermediary net/minecraft/class_9927official geb
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<InactivityFpsLimit> private final Stringprivate final TextFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.getText()static InactivityFpsLimitReturns the enum constant of this class with the specified name.static InactivityFpsLimit[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MINIMIZED
- Mappings:
Namespace Name Mixin selector named MINIMIZEDLnet/minecraft/client/option/InactivityFpsLimit;MINIMIZED:Lnet/minecraft/client/option/InactivityFpsLimit;intermediary field_52743Lnet/minecraft/class_9927;field_52743:Lnet/minecraft/class_9927;official aLgeb;a:Lgeb;
-
AFK
- Mappings:
Namespace Name Mixin selector named AFKLnet/minecraft/client/option/InactivityFpsLimit;AFK:Lnet/minecraft/client/option/InactivityFpsLimit;intermediary field_52744Lnet/minecraft/class_9927;field_52744:Lnet/minecraft/class_9927;official bLgeb;b:Lgeb;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/option/InactivityFpsLimit;CODEC:Lcom/mojang/serialization/Codec;intermediary field_52745Lnet/minecraft/class_9927;field_52745:Lcom/mojang/serialization/Codec;official cLgeb;c:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/option/InactivityFpsLimit;name:Ljava/lang/String;intermediary field_52747Lnet/minecraft/class_9927;field_52747:Ljava/lang/String;official dLgeb;d:Ljava/lang/String;
-
text
- Mappings:
Namespace Name Mixin selector named textLnet/minecraft/client/option/InactivityFpsLimit;text:Lnet/minecraft/text/Text;intermediary field_64422Lnet/minecraft/class_9927;field_64422:Lnet/minecraft/class_2561;official eLgeb;e:Lyh;
-
-
Constructor Details
-
InactivityFpsLimit
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/option/InactivityFpsLimit;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_9927;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vofficial <init>Lgeb;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/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
-
getText
- Mappings:
Namespace Name Mixin selector named getTextLnet/minecraft/client/option/InactivityFpsLimit;getText()Lnet/minecraft/text/Text;intermediary method_76526Lnet/minecraft/class_9927;method_76526()Lnet/minecraft/class_2561;official aLgeb;a()Lyh;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbhh;c()Ljava/lang/String;
-