use of de.melanx.skyblockbuilder.world.chunkgenerators.SkyblockNoiseBasedChunkGenerator in project SkyblockBuilder by MelanX.
the class VoidWorldType method netherChunkGenerator.
private static ChunkGenerator netherChunkGenerator(RegistryAccess dynamicRegistries, Registry<StructureSet> structureSets, Registry<NormalNoise.NoiseParameters> noises, Registry<Biome> biomeRegistry, Registry<NoiseGeneratorSettings> dimensionSettingsRegistry, long seed) {
BiomeSource biomeSource = BiomeSourceConverter.customBiomeSource(Level.NETHER, dynamicRegistries, MultiNoiseBiomeSource.Preset.NETHER.biomeSource(biomeRegistry));
Holder<NoiseGeneratorSettings> settings = dimensionSettingsRegistry.getOrCreateHolder(NoiseGeneratorSettings.NETHER);
return new SkyblockNoiseBasedChunkGenerator(structureSets, noises, biomeSource, seed, settings, Level.NETHER);
}
use of de.melanx.skyblockbuilder.world.chunkgenerators.SkyblockNoiseBasedChunkGenerator in project SkyblockBuilder by MelanX.
the class VoidWorldType method overworldChunkGenerator.
public static ChunkGenerator overworldChunkGenerator(RegistryAccess dynamicRegistries, Registry<StructureSet> structureSets, Registry<NormalNoise.NoiseParameters> noises, @Nonnull Registry<Biome> biomeRegistry, @Nonnull Registry<NoiseGeneratorSettings> dimensionSettingsRegistry, long seed) {
MultiNoiseBiomeSource biomeSource = (MultiNoiseBiomeSource) BiomeSourceConverter.customBiomeSource(Level.OVERWORLD, dynamicRegistries, MultiNoiseBiomeSource.Preset.OVERWORLD.biomeSource(biomeRegistry, false));
Holder<NoiseGeneratorSettings> settings = dimensionSettingsRegistry.getOrCreateHolder(NoiseGeneratorSettings.OVERWORLD);
return new SkyblockNoiseBasedChunkGenerator(structureSets, noises, biomeSource, seed, settings, Level.OVERWORLD);
}
Aggregations