Package net.minecraftforge.common
Class BiomeDictionary
java.lang.Object
net.minecraftforge.common.BiomeDictionary
Deprecated.
Use
Tags.Biomes
when possible.
Note that tags are not usable yet during BiomeLoadingEvent
so BiomeDictionary are still necessary there-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
Deprecated.static final class
Deprecated. -
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<ResourceKey<Biome>,
BiomeDictionary.BiomeInfo> Deprecated.private static final boolean
Deprecated.private static final org.apache.logging.log4j.Logger
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addTypes
(ResourceKey<Biome> biome, BiomeDictionary.Type... types) Deprecated.Adds the given types to the biome.static boolean
areSimilar
(ResourceKey<Biome> biomeA, ResourceKey<Biome> biomeB) Deprecated.Checks if the two given biomes have types in common.private static BiomeDictionary.BiomeInfo
getBiomeInfo
(ResourceKey<Biome> biome) Deprecated.static Set<ResourceKey<Biome>>
Deprecated.Gets the set of biomes that have the given type.static Set<BiomeDictionary.Type>
getTypes
(ResourceKey<Biome> biome) Deprecated.Gets the set of types that have been added to the given biome.static boolean
hasAnyType
(ResourceKey<Biome> biome) Deprecated.Checks if any type has been added to the given biome.static boolean
hasType
(ResourceKey<Biome> biome, BiomeDictionary.Type type) Deprecated.Checks if the given type has been added to the given biome.static void
init()
Deprecated.private static Collection<BiomeDictionary.Type>
listSupertypes
(BiomeDictionary.Type... types) Deprecated.private static void
Deprecated.
-
Field Details
-
DEBUG
private static final boolean DEBUGDeprecated.- See Also:
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGERDeprecated. -
biomeInfoMap
Deprecated.
-
-
Constructor Details
-
BiomeDictionary
public BiomeDictionary()Deprecated.
-
-
Method Details
-
init
public static void init()Deprecated. -
addTypes
Deprecated.Adds the given types to the biome. -
getBiomes
Deprecated.Gets the set of biomes that have the given type. -
getTypes
Deprecated.Gets the set of types that have been added to the given biome. -
areSimilar
Deprecated.Checks if the two given biomes have types in common.- Returns:
- returns true if a common type is found, false otherwise
-
hasType
Deprecated.Checks if the given type has been added to the given biome. -
hasAnyType
Deprecated.Checks if any type has been added to the given biome. -
getBiomeInfo
Deprecated. -
listSupertypes
Deprecated. -
registerVanillaBiomes
private static void registerVanillaBiomes()Deprecated.
-