Class BlockPopulator

java.lang.Object
org.bukkit.generator.BlockPopulator

public abstract class BlockPopulator extends Object
A block populator is responsible for generating a small area of blocks.

For example, generating glowstone inside the nether or generating dungeons full of treasure

A BlockPopulator can be used in combination with a custom ChunkGenerator by returning it in the method ChunkGenerator.getDefaultPopulators(World) or by adding it manually to the worlds populator list returned by World.getPopulators().

When adding a BlockPopulator manually to a world it is recommended to do so during the WorldInitEvent.