Package net.minecraft.world.biome
Enum BiomeGenBase.TempCategory
- java.lang.Object
-
- java.lang.Enum<BiomeGenBase.TempCategory>
-
- net.minecraft.world.biome.BiomeGenBase.TempCategory
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BiomeGenBase.TempCategory>
- Enclosing class:
- BiomeGenBase
public static enum BiomeGenBase.TempCategory extends java.lang.Enum<BiomeGenBase.TempCategory>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BiomeGenBase.TempCategory
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BiomeGenBase.TempCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OCEAN
public static final BiomeGenBase.TempCategory OCEAN
-
COLD
public static final BiomeGenBase.TempCategory COLD
-
MEDIUM
public static final BiomeGenBase.TempCategory MEDIUM
-
WARM
public static final BiomeGenBase.TempCategory WARM
-
-
Method Detail
-
values
public static BiomeGenBase.TempCategory[] 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 (BiomeGenBase.TempCategory c : BiomeGenBase.TempCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BiomeGenBase.TempCategory 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
-
-