Package net.minecraft.client.renderer
Enum FogRenderer.FogType
- java.lang.Object
-
- java.lang.Enum<FogRenderer.FogType>
-
- net.minecraft.client.renderer.FogRenderer.FogType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FogRenderer.FogType>
- Enclosing class:
- FogRenderer
public static enum FogRenderer.FogType extends java.lang.Enum<FogRenderer.FogType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FOG_SKY
FOG_TERRAIN
-
Constructor Summary
Constructors Modifier Constructor Description private
FogType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FogRenderer.FogType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FogRenderer.FogType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOG_SKY
public static final FogRenderer.FogType FOG_SKY
-
FOG_TERRAIN
public static final FogRenderer.FogType FOG_TERRAIN
-
-
Method Detail
-
values
public static FogRenderer.FogType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FogRenderer.FogType c : FogRenderer.FogType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FogRenderer.FogType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-