Interface BiomeSource

All Superinterfaces:
Wrapper
All Known Subinterfaces:
CheckeredColumnBiomeSource, FixedBiomeSource, MultiNoiseBiomeSource, MultiNoisePresetBiomeSource, TheEndBiomeSource
All Known Implementing Classes:
CustomBiomeSource

@NullMarked @AsOf("2.4.0") public interface BiomeSource extends Wrapper
Represents a biome source, which determines how biomes are distributed in a world.
Since:
2.4.0
See Also:
  • Method Details

    • fixed

      @AsOf("2.4.0") static FixedBiomeSource fixed(Biome biome)
      Creates a biome source that always returns the specified biome.
      Parameters:
      biome - the biome to return
      Returns:
      a biome source that always returns the specified biome
      Since:
      2.4.0
    • fixed

      @AsOf("2.4.0") static FixedBiomeSource fixed(ResourceKey biomeKey)
      Creates a biome source that always returns the specified biome.
      Parameters:
      biomeKey - the biome to return
      Returns:
      a biome source that always returns the specified biome
      Since:
      2.4.0
    • multiNoise

      @AsOf("2.4.0") static MultiNoiseBiomeSource.Builder multiNoise()
      Creates a multi-noise biome source.
      Returns:
      a new multi-noise biome source builder
      Since:
      2.4.0
    • overworld

      @AsOf("2.4.0") static MultiNoisePresetBiomeSource overworld()
      Biome source preset for the overworld.
      Returns:
      the overworld biome source preset
      Since:
      2.4.0
    • nether

      @AsOf("2.4.0") static MultiNoisePresetBiomeSource nether()
      Biome source preset for the nether.
      Returns:
      the nether biome source preset
      Since:
      2.4.0
    • checkeredColumn

      @AsOf("3.0.0") static CheckeredColumnBiomeSource.Builder checkeredColumn()
      Biome source preset for the end.
      Returns:
      the end biome source preset
      Since:
      3.0.0
    • theEnd

      @AsOf("3.0.0") static TheEndBiomeSource theEnd()
      The end biome source.
      Returns:
      the end biome source
      Since:
      3.0.0
    • decode

      @AsOf("3.3.0") static BiomeSource decode(Object minecraftSource)
      Reads a Minecraft biome source.
      Parameters:
      minecraftSource - the biome source to read
      Returns:
      the decoded biome source
      Since:
      3.3.0