Package net.minecraftforge.common
Enum BiomeManager.BiomeType
- java.lang.Object
-
- java.lang.Enum<BiomeManager.BiomeType>
-
- net.minecraftforge.common.BiomeManager.BiomeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BiomeManager.BiomeType>
- Enclosing class:
- BiomeManager
public static enum BiomeManager.BiomeType extends java.lang.Enum<BiomeManager.BiomeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COOL
DESERT
DESERT_LEGACY
ICY
WARM
-
Constructor Summary
Constructors Modifier Constructor Description private
BiomeType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BiomeManager.BiomeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BiomeManager.BiomeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DESERT
public static final BiomeManager.BiomeType DESERT
-
DESERT_LEGACY
public static final BiomeManager.BiomeType DESERT_LEGACY
-
WARM
public static final BiomeManager.BiomeType WARM
-
COOL
public static final BiomeManager.BiomeType COOL
-
ICY
public static final BiomeManager.BiomeType ICY
-
-
Method Detail
-
values
public static BiomeManager.BiomeType[] 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 (BiomeManager.BiomeType c : BiomeManager.BiomeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BiomeManager.BiomeType 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
-
-