Search in sources :

Example 6 with GenerationPopulator

use of org.spongepowered.api.world.gen.GenerationPopulator in project LanternServer by LanternPowered.

the class LanternBiomeGenerationSettingsBuilder method generationPopulators.

@Override
public Builder generationPopulators(Iterable<GenerationPopulator> populators) {
    checkNotNull(populators, "populators");
    this.generationPopulators.clear();
    for (GenerationPopulator populator : populators) {
        this.generationPopulators.add(checkNotNull(populator, "populator"));
    }
    return this;
}
Also used : GenerationPopulator(org.spongepowered.api.world.gen.GenerationPopulator)

Aggregations

GenerationPopulator (org.spongepowered.api.world.gen.GenerationPopulator)6 Vector3i (com.flowpowered.math.vector.Vector3i)2 BiomeGenerationSettings (org.spongepowered.api.world.biome.BiomeGenerationSettings)2 BiomeType (org.spongepowered.api.world.biome.BiomeType)2 ImmutableBiomeVolume (org.spongepowered.api.world.extent.ImmutableBiomeVolume)2 Chunk (net.minecraft.world.chunk.Chunk)1 ChunkPrimer (net.minecraft.world.chunk.ChunkPrimer)1 ChunkGeneratorOverworld (net.minecraft.world.gen.ChunkGeneratorOverworld)1 ChunkSection (org.lanternpowered.server.world.chunk.LanternChunk.ChunkSection)1 EventManager (org.spongepowered.api.event.EventManager)1 VirtualBiomeType (org.spongepowered.api.world.biome.VirtualBiomeType)1 MutableBlockVolume (org.spongepowered.api.world.extent.MutableBlockVolume)1 BiomeGenerator (org.spongepowered.api.world.gen.BiomeGenerator)1 IMixinChunk (org.spongepowered.common.interfaces.IMixinChunk)1 IChunkProviderOverworld (org.spongepowered.common.interfaces.world.gen.IChunkProviderOverworld)1 IGenerationPopulator (org.spongepowered.common.interfaces.world.gen.IGenerationPopulator)1 ChunkPrimerBuffer (org.spongepowered.common.util.gen.ChunkPrimerBuffer)1 SpongeBiomeGenerationSettings (org.spongepowered.common.world.biome.SpongeBiomeGenerationSettings)1