Enum Class CloudRenderMode

java.lang.Object
java.lang.Enum<CloudRenderMode>
net.minecraft.client.option.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/CloudRenderMode
intermediary net/minecraft/class_4063
official fev
  • Enum Constant Details

    • OFF

      public static final CloudRenderMode OFF
      Mappings:
      Namespace Name Mixin selector
      named OFF Lnet/minecraft/client/option/CloudRenderMode;OFF:Lnet/minecraft/client/option/CloudRenderMode;
      intermediary field_18162 Lnet/minecraft/class_4063;field_18162:Lnet/minecraft/class_4063;
      official a Lfev;a:Lfev;
    • FAST

      public static final CloudRenderMode FAST
      Mappings:
      Namespace Name Mixin selector
      named FAST Lnet/minecraft/client/option/CloudRenderMode;FAST:Lnet/minecraft/client/option/CloudRenderMode;
      intermediary field_18163 Lnet/minecraft/class_4063;field_18163:Lnet/minecraft/class_4063;
      official b Lfev;b:Lfev;
    • FANCY

      public static final CloudRenderMode FANCY
      Mappings:
      Namespace Name Mixin selector
      named FANCY Lnet/minecraft/client/option/CloudRenderMode;FANCY:Lnet/minecraft/client/option/CloudRenderMode;
      intermediary field_18164 Lnet/minecraft/class_4063;field_18164:Lnet/minecraft/class_4063;
      official c Lfev;c:Lfev;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<CloudRenderMode> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/option/CloudRenderMode;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_45285 Lnet/minecraft/class_4063;field_45285:Lcom/mojang/serialization/Codec;
      official d Lfev;d:Lcom/mojang/serialization/Codec;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/client/option/CloudRenderMode;id:I
      intermediary field_38440 Lnet/minecraft/class_4063;field_38440:I
      official e Lfev;e:I
    • serializedId

      private final String serializedId
      Mappings:
      Namespace Name Mixin selector
      named serializedId Lnet/minecraft/client/option/CloudRenderMode;serializedId:Ljava/lang/String;
      intermediary field_45286 Lnet/minecraft/class_4063;field_45286:Ljava/lang/String;
      official f Lfev;f:Ljava/lang/String;
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      named translationKey Lnet/minecraft/client/option/CloudRenderMode;translationKey:Ljava/lang/String;
      intermediary field_18167 Lnet/minecraft/class_4063;field_18167:Ljava/lang/String;
      official g Lfev;g:Ljava/lang/String;
  • Constructor Details

    • CloudRenderMode

      private CloudRenderMode(int id, String serializedId, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/option/CloudRenderMode;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4063;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      official <init> Lfev;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static CloudRenderMode[] 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

      public static CloudRenderMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazu;c()Ljava/lang/String;
    • getId

      public int getId()
      Specified by:
      getId in interface TranslatableOption
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/util/TranslatableOption;getId()I
      intermediary method_7362 Lnet/minecraft/class_7291;method_7362()I
      official a Lazc;a()I
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface TranslatableOption
      Mappings:
      Namespace Name Mixin selector
      named getTranslationKey Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
      intermediary method_7359 Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
      official b Lazc;b()Ljava/lang/String;