cpw.mods.fml.common
Interface IWorldGenerator

All Known Implementing Classes:
ModLoaderWorldGenerator

public interface IWorldGenerator

This is called back during world generation. The #generate(Random, int, int, Object...) method passes in some additional data that can be cast into minecraft objects.

Author:
cpw

Method Summary
 void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider)
          Generate some world
 

Method Detail

generate

void generate(Random random,
              int chunkX,
              int chunkZ,
              World world,
              IChunkProvider chunkGenerator,
              IChunkProvider chunkProvider)
Generate some world

Parameters:
random - the chunk specific Random.
chunkX - the chunk X coordinate of this chunk.
chunkZ - the chunk Z coordinate of this chunk.
world - : additionalData[0] The minecraft World we're generating for.
generator - : additionalData[1] The IChunkProvider that is generating.
chunkProvider - : additionalData[2] IChunkProvider that is requesting the world generation.