Package net.minecraftforge.common
Class BiomeManager
- java.lang.Object
-
- net.minecraftforge.common.BiomeManager
-
public class BiomeManager extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BiomeManager.BiomeEntry
static class
BiomeManager.BiomeType
private static class
BiomeManager.TrackedList<E>
-
Field Summary
Fields Modifier and Type Field Description private static java.util.List<RegistryKey<Biome>>
additionalOverworldBiomes
private static java.util.List<RegistryKey<Biome>>
additionalOverworldBiomesView
private static BiomeManager.TrackedList<BiomeManager.BiomeEntry>[]
biomes
-
Constructor Summary
Constructors Constructor Description BiomeManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addAdditionalOverworldBiomes(RegistryKey<Biome> biome)
Add biomes that you add to the overworld without usingaddBiome(BiomeType, BiomeEntry)
static boolean
addBiome(BiomeManager.BiomeType type, BiomeManager.BiomeEntry entry)
static java.util.List<RegistryKey<Biome>>
getAdditionalOverworldBiomes()
static com.google.common.collect.ImmutableList<BiomeManager.BiomeEntry>
getBiomes(BiomeManager.BiomeType type)
static boolean
isTypeListModded(BiomeManager.BiomeType type)
static boolean
removeBiome(BiomeManager.BiomeType type, BiomeManager.BiomeEntry entry)
private static BiomeManager.TrackedList<BiomeManager.BiomeEntry>[]
setupBiomes()
-
-
-
Field Detail
-
biomes
private static BiomeManager.TrackedList<BiomeManager.BiomeEntry>[] biomes
-
additionalOverworldBiomes
private static final java.util.List<RegistryKey<Biome>> additionalOverworldBiomes
-
additionalOverworldBiomesView
private static final java.util.List<RegistryKey<Biome>> additionalOverworldBiomesView
-
-
Method Detail
-
setupBiomes
private static BiomeManager.TrackedList<BiomeManager.BiomeEntry>[] setupBiomes()
-
addAdditionalOverworldBiomes
public static void addAdditionalOverworldBiomes(RegistryKey<Biome> biome)
Add biomes that you add to the overworld without usingaddBiome(BiomeType, BiomeEntry)
-
addBiome
public static boolean addBiome(BiomeManager.BiomeType type, BiomeManager.BiomeEntry entry)
-
removeBiome
public static boolean removeBiome(BiomeManager.BiomeType type, BiomeManager.BiomeEntry entry)
-
getAdditionalOverworldBiomes
public static java.util.List<RegistryKey<Biome>> getAdditionalOverworldBiomes()
- Returns:
- list of biomes that might be generated in the overworld in addition to the vanilla biomes
-
getBiomes
public static com.google.common.collect.ImmutableList<BiomeManager.BiomeEntry> getBiomes(BiomeManager.BiomeType type)
-
isTypeListModded
public static boolean isTypeListModded(BiomeManager.BiomeType type)
-
-