use of de.melanx.skyblockbuilder.world.chunkgenerators.SkyblockEndChunkGenerator in project SkyblockBuilder by MelanX.
the class VoidWorldType method endChunkGenerator.
private static ChunkGenerator endChunkGenerator(RegistryAccess dynamicRegistries, Registry<StructureSet> structureSets, Registry<NormalNoise.NoiseParameters> noises, Registry<Biome> biomeRegistry, Registry<NoiseGeneratorSettings> dimensionSettingsRegistry, long seed) {
TheEndBiomeSource biomeSource = (TheEndBiomeSource) BiomeSourceConverter.customBiomeSource(Level.END, dynamicRegistries, new TheEndBiomeSource(biomeRegistry, seed));
Holder<NoiseGeneratorSettings> settings = dimensionSettingsRegistry.getOrCreateHolder(NoiseGeneratorSettings.END);
return new SkyblockEndChunkGenerator(structureSets, noises, biomeSource, seed, settings, Level.END);
}
Aggregations