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.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addNetherBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, net.minecraft.world.biome.Biome.MixedNoisePoint mixedNoisePoint)
Adds a biome to the Nether generator.static boolean
canGenerateInNether(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.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(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, net.minecraft.world.biome.Biome.MixedNoisePoint 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:
Biome.MixedNoisePoint
-
canGenerateInNether
public static boolean canGenerateInNether(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.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.
-