Package net.minecraft.client.render
Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BackgroundRenderer.FogType
Returns the enum constant of this class with the specified name.static BackgroundRenderer.FogType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
- 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
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
-