Class NetherBiomes

java.lang.Object
net.fabricmc.fabric.api.biome.v1.NetherBiomes

public final class NetherBiomes extends Object
API that exposes the internals of Minecraft's nether biome code.

Experimental feature, may be removed or changed without further notice.

  • 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 given Biome'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 given Biome's spawning information in the nether.
      See Also:
    • canGenerateInNether

      public 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.