Package net.fabricmc.fabric.api.biome.v1
Class NetherBiomes
java.lang.Object
net.fabricmc.fabric.api.biome.v1.NetherBiomes
API that exposes the internals of Minecraft's nether biome code.
Experimental feature, may be removed or changed without further notice.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addNetherBiome
(RegistryKey<Biome> biome, MultiNoiseUtil.NoiseHypercube mixedNoisePoint) Adds a biome to the Nether generator.static void
addNetherBiome
(RegistryKey<Biome> biome, MultiNoiseUtil.NoiseValuePoint mixedNoisePoint) Adds a biome to the Nether generator.static boolean
canGenerateInNether
(RegistryKey<Biome> biome) Returns true if the given biome can generate in the nether, considering the Vanilla nether biomes, and any biomes added to the Nether by mods.
-
Method Details
-
addNetherBiome
public static void addNetherBiome(RegistryKey<Biome> biome, MultiNoiseUtil.NoiseValuePoint mixedNoisePoint) Adds a biome to the Nether generator.- Parameters:
biome
- The biome to add. Must not be null.mixedNoisePoint
- data about the givenBiome
's spawning information in the nether.- See Also:
-
addNetherBiome
public static void addNetherBiome(RegistryKey<Biome> biome, MultiNoiseUtil.NoiseHypercube mixedNoisePoint) Adds a biome to the Nether generator.- Parameters:
biome
- The biome to add. Must not be null.mixedNoisePoint
- data about the givenBiome
's spawning information in the nether.- See Also:
-
canGenerateInNether
Returns true if the given biome can generate in the nether, considering the Vanilla nether biomes, and any biomes added to the Nether by mods.
-