Package net.minecraft.client.render
Enum 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description FOG_SKY
FOG_TERRAIN
-
Constructor Summary
Constructors Modifier Constructor Description private
FogType()
-
Method Summary
Modifier and Type Method Description static BackgroundRenderer.FogType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BackgroundRenderer.FogType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
- 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
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
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 nameNullPointerException
- if the argument is null
-