Interface ChunkGenerator

All Superinterfaces:
Wrapper

@NullMarked @AsOf("2.4.0") public interface ChunkGenerator extends Wrapper
Wraps a chunk generator for use in a LevelCreator's level stem.
Since:
2.4.0
  • Field Details

  • Method Details

    • of

      @AsOf("2.4.0") static ChunkGenerator of(BiomeSource biomeSource, ResourceKey noiseSettings)
      Builds a noise generator over the given biome source, referencing the given settings.
      Parameters:
      biomeSource - the biome source the generator draws from
      noiseSettings - the noise generator settings key (e.g. minecraft:overworld)
      Returns:
      a wrapped chunk generator
      Since:
      2.4.0
    • of

      @AsOf("2.4.0") static ChunkGenerator of(BiomeSource biomeSource, NoiseGeneratorSettings settings)
      Builds a noise generator over the given biome source, referencing the given settings.
      Parameters:
      biomeSource - the biome source the generator draws from
      settings - the authored noise generator settings
      Returns:
      a wrapped chunk generator
      Since:
      2.4.0
    • of

      @AsOf("2.4.0") static ChunkGenerator of(BiomeSource biomeSource, Noise abstractNoise)
      Builds a noise generator over the given biome source, referencing the given settings.
      Parameters:
      biomeSource - the biome source the generator draws from
      abstractNoise - the noise generator settings
      Returns:
      a wrapped chunk generator
      Since:
      2.4.0