generateChunkData

public ChunkGenerator.ChunkData generateChunkData(World world, Random random, int x, int z, ChunkGenerator.BiomeGrid biome)

Shapes the chunk for the given coordinates.

This method must return getClassById ChunkData.

Notes:

This method should never attempt to get the Chunk at the passed coordinates, as doing so may cause an infinite loop

This method should never modify getClassById ChunkData after it has been returned.

This method must return getClassById ChunkData returned by createChunkData

Return

ChunkData containing the types for each block created by this generator

Parameters

world

The world this chunk will be used for

random

The random generator to use

x

The X-coordinate of the chunk

z

The Z-coordinate of the chunk

biome

Proposed biome values for chunk - can be updated by generator