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 Summary

    Modifier and Type
    Method
    Description
    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.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 given Biome'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 given Biome'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.