Package net.minecraft.client.option
Enum Class CloudRenderMode
- All Implemented Interfaces:
Serializable,Comparable<CloudRenderMode>,Constable,StringIdentifiable,TranslatableOption
@Environment(CLIENT)
public enum CloudRenderMode
extends Enum<CloudRenderMode>
implements TranslatableOption, StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/client/option/CloudRenderModeintermediary net/minecraft/class_4063official fqc
-
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<CloudRenderMode> private final intprivate final Stringprivate final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCloudRenderMode(int id, String serializedId, String translationKey) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.intgetId()static CloudRenderModeReturns 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, valueOfMethods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
OFF
- Mappings:
Namespace Name Mixin selector named OFFLnet/minecraft/client/option/CloudRenderMode;OFF:Lnet/minecraft/client/option/CloudRenderMode;intermediary field_18162Lnet/minecraft/class_4063;field_18162:Lnet/minecraft/class_4063;official aLfqc;a:Lfqc;
-
FAST
- Mappings:
Namespace Name Mixin selector named FASTLnet/minecraft/client/option/CloudRenderMode;FAST:Lnet/minecraft/client/option/CloudRenderMode;intermediary field_18163Lnet/minecraft/class_4063;field_18163:Lnet/minecraft/class_4063;official bLfqc;b:Lfqc;
-
FANCY
- Mappings:
Namespace Name Mixin selector named FANCYLnet/minecraft/client/option/CloudRenderMode;FANCY:Lnet/minecraft/client/option/CloudRenderMode;intermediary field_18164Lnet/minecraft/class_4063;field_18164:Lnet/minecraft/class_4063;official cLfqc;c:Lfqc;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/option/CloudRenderMode;CODEC:Lcom/mojang/serialization/Codec;intermediary field_45285Lnet/minecraft/class_4063;field_45285:Lcom/mojang/serialization/Codec;official dLfqc;d:Lcom/mojang/serialization/Codec;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/client/option/CloudRenderMode;id:Iintermediary field_38440Lnet/minecraft/class_4063;field_38440:Iofficial eLfqc;e:I
-
serializedId
- Mappings:
Namespace Name Mixin selector named serializedIdLnet/minecraft/client/option/CloudRenderMode;serializedId:Ljava/lang/String;intermediary field_45286Lnet/minecraft/class_4063;field_45286:Ljava/lang/String;official fLfqc;f:Ljava/lang/String;
-
translationKey
- Mappings:
Namespace Name Mixin selector named translationKeyLnet/minecraft/client/option/CloudRenderMode;translationKey:Ljava/lang/String;intermediary field_18167Lnet/minecraft/class_4063;field_18167:Ljava/lang/String;official gLfqc;g:Ljava/lang/String;
-
-
Constructor Details
-
CloudRenderMode
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/option/CloudRenderMode;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4063;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)Vofficial <init>Lfqc;<init>(Ljava/lang/String;IILjava/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
-
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 cLbax;c()Ljava/lang/String;
-
getId
public int getId()- Specified by:
getIdin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/util/TranslatableOption;getId()Iintermediary method_7362Lnet/minecraft/class_7291;method_7362()Iofficial bLbac;b()I
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector named getTranslationKeyLnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;intermediary method_7359Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;official aLbac;a()Ljava/lang/String;
-