Enum Class BackgroundRenderer.FogType

java.lang.Object
java.lang.Enum<BackgroundRenderer.FogType>
net.minecraft.client.render.BackgroundRenderer.FogType
All Implemented Interfaces:
Serializable, Comparable<BackgroundRenderer.FogType>, Constable
Enclosing class:
BackgroundRenderer

@Environment(CLIENT) public static enum BackgroundRenderer.FogType extends Enum<BackgroundRenderer.FogType>
Mappings:
Namespace Name
official fnw$d
intermediary net/minecraft/class_758$class_4596
named net/minecraft/client/render/BackgroundRenderer$FogType
  • Enum Constant Details

    • FOG_SKY

      public static final BackgroundRenderer.FogType FOG_SKY
      Mappings:
      Namespace Name Mixin selector
      official a Lfnw$d;a:Lfnw$d;
      intermediary field_20945 Lnet/minecraft/class_758$class_4596;field_20945:Lnet/minecraft/class_758$class_4596;
      named FOG_SKY Lnet/minecraft/client/render/BackgroundRenderer$FogType;FOG_SKY:Lnet/minecraft/client/render/BackgroundRenderer$FogType;
    • FOG_TERRAIN

      public static final BackgroundRenderer.FogType FOG_TERRAIN
      Mappings:
      Namespace Name Mixin selector
      official b Lfnw$d;b:Lfnw$d;
      intermediary field_20946 Lnet/minecraft/class_758$class_4596;field_20946:Lnet/minecraft/class_758$class_4596;
      named FOG_TERRAIN Lnet/minecraft/client/render/BackgroundRenderer$FogType;FOG_TERRAIN:Lnet/minecraft/client/render/BackgroundRenderer$FogType;
  • Constructor Details

    • FogType

      private FogType()
  • Method Details

    • values

      public static BackgroundRenderer.FogType[] 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 BackgroundRenderer.FogType 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