Enum BackgroundRenderer.FogType

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

@Environment(CLIENT)
public static enum BackgroundRenderer.FogType
extends Enum<BackgroundRenderer.FogType>
Mappings:
Namespace Name
official ehi$a
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 Lehi$a;a:Lehi$a;
      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 Lehi$a;b:Lehi$a;
      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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BackgroundRenderer.FogType valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null