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
Nested ClassesModifier and TypeClassDescriptionprivate static classDeprecated.static final classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<ResourceKey<Biome>,BiomeDictionary.BiomeInfo> Deprecated.private static final booleanDeprecated.private static final org.apache.logging.log4j.LoggerDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTypes(ResourceKey<Biome> biome, BiomeDictionary.Type... types) Deprecated.Adds the given types to the biome.static booleanareSimilar(ResourceKey<Biome> biomeA, ResourceKey<Biome> biomeB) Deprecated.Checks if the two given biomes have types in common.private static BiomeDictionary.BiomeInfogetBiomeInfo(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 booleanhasAnyType(ResourceKey<Biome> biome) Deprecated.Checks if any type has been added to the given biome.static booleanhasType(ResourceKey<Biome> biome, BiomeDictionary.Type type) Deprecated.Checks if the given type has been added to the given biome.static voidinit()Deprecated.private static Collection<BiomeDictionary.Type>listSupertypes(BiomeDictionary.Type... types) Deprecated.private static voidDeprecated.
-
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.
-