public static final class BiomeDictionary.Type
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
Type(java.lang.String name,
BiomeDictionary.Type... subTypes) |
Modifier and Type | Method and Description |
---|---|
static BiomeDictionary.Type |
fromVanilla(Biome.Category category) |
static java.util.Collection<BiomeDictionary.Type> |
getAll() |
java.lang.String |
getName()
Gets the name for this type.
|
static BiomeDictionary.Type |
getType(java.lang.String name,
BiomeDictionary.Type... subTypes)
Retrieves a Type instance by name,
if one does not exist already it creates one.
|
java.lang.String |
toString() |
private static final java.util.Map<java.lang.String,BiomeDictionary.Type> byName
private static java.util.Collection<BiomeDictionary.Type> allTypes
public static final BiomeDictionary.Type HOT
public static final BiomeDictionary.Type COLD
public static final BiomeDictionary.Type SPARSE
public static final BiomeDictionary.Type DENSE
public static final BiomeDictionary.Type WET
public static final BiomeDictionary.Type DRY
public static final BiomeDictionary.Type SAVANNA
public static final BiomeDictionary.Type CONIFEROUS
public static final BiomeDictionary.Type JUNGLE
public static final BiomeDictionary.Type SPOOKY
public static final BiomeDictionary.Type DEAD
public static final BiomeDictionary.Type LUSH
public static final BiomeDictionary.Type MUSHROOM
public static final BiomeDictionary.Type MAGICAL
public static final BiomeDictionary.Type RARE
public static final BiomeDictionary.Type PLATEAU
public static final BiomeDictionary.Type MODIFIED
public static final BiomeDictionary.Type OCEAN
public static final BiomeDictionary.Type RIVER
public static final BiomeDictionary.Type WATER
public static final BiomeDictionary.Type MESA
public static final BiomeDictionary.Type FOREST
public static final BiomeDictionary.Type PLAINS
public static final BiomeDictionary.Type MOUNTAIN
public static final BiomeDictionary.Type HILLS
public static final BiomeDictionary.Type SWAMP
public static final BiomeDictionary.Type SANDY
public static final BiomeDictionary.Type SNOWY
public static final BiomeDictionary.Type WASTELAND
public static final BiomeDictionary.Type BEACH
public static final BiomeDictionary.Type VOID
public static final BiomeDictionary.Type OVERWORLD
public static final BiomeDictionary.Type NETHER
public static final BiomeDictionary.Type END
private final java.lang.String name
private final java.util.List<BiomeDictionary.Type> subTypes
private final java.util.Set<Biome> biomes
private final java.util.Set<Biome> biomesUn
private Type(java.lang.String name, BiomeDictionary.Type... subTypes)
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public static BiomeDictionary.Type getType(java.lang.String name, BiomeDictionary.Type... subTypes)
There are no naming conventions besides:
Note: For performance sake, the return value of this function SHOULD be cached. Two calls with the same name SHOULD return the same value.
name
- The name of this Typepublic static java.util.Collection<BiomeDictionary.Type> getAll()
@Nullable public static BiomeDictionary.Type fromVanilla(Biome.Category category)