Skip to content

Commit

Permalink
start experimenting with a void generation type
Browse files Browse the repository at this point in the history
that'll support multiple biomes
  • Loading branch information
gabizou committed Feb 15, 2025
1 parent df823f2 commit ddaed52
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ static ConfigurableChunkGenerator<NoiseGeneratorConfig> theEnd() {
return Sponge.game().factoryProvider().provide(ChunkGenerator.Factory.class).theEnd();
}

static ConfigurableChunkGenerator<NoiseGeneratorConfig> customVoid(final NoiseGeneratorConfig config) {
return Sponge.game().factoryProvider().provide(ChunkGenerator.Factory.class).customVoid(Objects.requireNonNull(config, "config"));
}

/**
* Returns the biome provider.
*
Expand Down Expand Up @@ -126,5 +130,7 @@ interface Factory {
* @return the created ChunkGenerator
*/
ChunkGenerator fromDataPack(DataView pack) throws IOException;

ConfigurableChunkGenerator<NoiseGeneratorConfig> customVoid(NoiseGeneratorConfig config);
}
}

0 comments on commit ddaed52

Please sign in to comment.