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
(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, net.minecraft.world.biome.source.util.MultiNoiseUtil.NoiseHypercube mixedNoisePoint) Adds a biome to the Nether generator.static void
addNetherBiome
(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, net.minecraft.world.biome.source.util.MultiNoiseUtil.NoiseValuePoint 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.source.util.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:
-
MultiNoiseUtil.NoiseValuePoint
-
addNetherBiome
public static void addNetherBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, net.minecraft.world.biome.source.util.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:
-
MultiNoiseUtil.NoiseValuePoint
-
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.
-