Package net.minecraft.client.option
Enum Class CloudRenderMode
- All Implemented Interfaces:
Serializable
,Comparable<CloudRenderMode>
,Constable
,TranslatableOption
@Environment(CLIENT)
public enum CloudRenderMode
extends Enum<CloudRenderMode>
implements TranslatableOption
- Mappings:
Namespace Name official eem
intermediary net/minecraft/class_4063
named net/minecraft/client/option/CloudRenderMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getId()
static CloudRenderMode
Returns the enum constant of this class with the specified name.static CloudRenderMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
OFF
- Mappings:
Namespace Name Mixin selector official a
Leem;a:Leem;
intermediary field_18162
Lnet/minecraft/class_4063;field_18162:Lnet/minecraft/class_4063;
named OFF
Lnet/minecraft/client/option/CloudRenderMode;OFF:Lnet/minecraft/client/option/CloudRenderMode;
-
FAST
- Mappings:
Namespace Name Mixin selector official b
Leem;b:Leem;
intermediary field_18163
Lnet/minecraft/class_4063;field_18163:Lnet/minecraft/class_4063;
named FAST
Lnet/minecraft/client/option/CloudRenderMode;FAST:Lnet/minecraft/client/option/CloudRenderMode;
-
FANCY
- Mappings:
Namespace Name Mixin selector official c
Leem;c:Leem;
intermediary field_18164
Lnet/minecraft/class_4063;field_18164:Lnet/minecraft/class_4063;
named FANCY
Lnet/minecraft/client/option/CloudRenderMode;FANCY:Lnet/minecraft/client/option/CloudRenderMode;
-
-
Field Details
-
id
private final int id- Mappings:
Namespace Name Mixin selector official d
Leem;d:I
intermediary field_38440
Lnet/minecraft/class_4063;field_38440:I
named id
Lnet/minecraft/client/option/CloudRenderMode;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official e
Leem;e:Ljava/lang/String;
intermediary field_18167
Lnet/minecraft/class_4063;field_18167:Ljava/lang/String;
named translationKey
Lnet/minecraft/client/option/CloudRenderMode;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
CloudRenderMode
- Mappings:
Namespace Name Mixin selector official <init>
Leem;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4063;<init>(Ljava/lang/String;IILjava/lang/String;)V
named <init>
Lnet/minecraft/client/option/CloudRenderMode;<init>(Ljava/lang/String;IILjava/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
-
getId
public int getId()- Specified by:
getId
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector official a
Lalr;a()I
intermediary method_7362
Lnet/minecraft/class_7291;method_7362()I
named getId
Lnet/minecraft/util/TranslatableOption;getId()I
-
getTranslationKey
- Specified by:
getTranslationKey
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector official b
Lalr;b()Ljava/lang/String;
intermediary method_7359
Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
-