File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/org/spongepowered/api/world/generation Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,10 @@ static ConfigurableChunkGenerator<NoiseGeneratorConfig> theEnd() {
7070 return Sponge .game ().factoryProvider ().provide (ChunkGenerator .Factory .class ).theEnd ();
7171 }
7272
73+ static ConfigurableChunkGenerator <NoiseGeneratorConfig > customVoid (final NoiseGeneratorConfig config ) {
74+ return Sponge .game ().factoryProvider ().provide (ChunkGenerator .Factory .class ).customVoid (Objects .requireNonNull (config , "config" ));
75+ }
76+
7377 /**
7478 * Returns the biome provider.
7579 *
@@ -126,5 +130,7 @@ interface Factory {
126130 * @return the created ChunkGenerator
127131 */
128132 ChunkGenerator fromDataPack (DataView pack ) throws IOException ;
133+
134+ ConfigurableChunkGenerator <NoiseGeneratorConfig > customVoid (NoiseGeneratorConfig config );
129135 }
130136}
You can’t perform that action at this time.
0 commit comments