public abstract class BlockPopulator extends Object
For example, generating glowstone inside the nether or generating dungeons full of treasure
Constructor and Description |
---|
BlockPopulator() |
public abstract void populate(World world, Random random, Chunk source)
The chunks on each side of the specified chunk must already exist; that is, there must be one north, east, south and west of the specified chunk. The "corner" chunks may not exist, in which scenario the populator should record any changes required for those chunks and perform the changes when they are ready.
world
- The world to generate inrandom
- The random generator to usesource
- The chunk to generate forCopyright © 2014. All rights reserved.