# Uses of Interface
org.bukkit.generator.ChunkGenerator.ChunkData

Packages that use ChunkGenerator.ChunkData
Package
Description
org.bukkit
The root package of the Bukkit API, contains generalized API classes.
org.bukkit.generator
Classes to facilitate `world` generation implementation.

## Uses of ChunkGenerator.ChunkData in org.bukkit

Methods in org.bukkit that return ChunkGenerator.ChunkData
Modifier and Type
Method
Description
`static ChunkGenerator.ChunkData`
Bukkit.`createChunkData(@NotNull World world)`
Create a ChunkData for use in a generator.
`ChunkGenerator.ChunkData`
Server.`createChunkData(@NotNull World world)`
Create a ChunkData for use in a generator.
`static ChunkGenerator.ChunkData`
Bukkit.`createVanillaChunkData(@NotNull World world, int x, int z)`
Deprecated, for removal: This API element is subject to removal in a future version.
The new multi-stage worldgen API allows a similar effect by overriding all of the "shouldGenerate..." methods to return true, and then modifying the chunkdata in a later stage such as surface or bedrock generation.
`ChunkGenerator.ChunkData`
Server.`createVanillaChunkData(@NotNull World world, int x, int z)`
Deprecated, for removal: This API element is subject to removal in a future version.
The new multi-stage worldgen API allows a similar effect by overriding all of the "shouldGenerate..." methods to return true, and then modifying the chunkdata in a later stage such as surface or bedrock generation.

## Uses of ChunkGenerator.ChunkData in org.bukkit.generator

Methods in org.bukkit.generator that return ChunkGenerator.ChunkData
Modifier and Type
Method
Description
`protected final @NotNull ChunkGenerator.ChunkData`
ChunkGenerator.`createChunkData(@NotNull World world)`
Deprecated.
`ChunkGenerator.ChunkData` are now directly provided
`@NotNull ChunkGenerator.ChunkData`
ChunkGenerator.`createVanillaChunkData(@NotNull World world, int x, int z)`
Create a ChunkData for use in a generator, that is populated by the vanilla generator for that world
`@NotNull ChunkGenerator.ChunkData`
ChunkGenerator.`generateChunkData(@NotNull World world, @NotNull Random random, int x, int z, @NotNull ChunkGenerator.BiomeGrid biome)`
Deprecated.
The generation is now split up and the new methods should be used, see `ChunkGenerator`
Methods in org.bukkit.generator with parameters of type ChunkGenerator.ChunkData
Modifier and Type
Method
Description
`void`
ChunkGenerator.`generateBedrock(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ, @NotNull ChunkGenerator.ChunkData chunkData)`
Shapes the Chunk bedrock layer for the given coordinates.
`void`
ChunkGenerator.`generateCaves(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ, @NotNull ChunkGenerator.ChunkData chunkData)`
Shapes the Chunk caves for the given coordinates.
`void`
ChunkGenerator.`generateNoise(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ, @NotNull ChunkGenerator.ChunkData chunkData)`
Shapes the Chunk noise for the given coordinates.
`void`
ChunkGenerator.`generateSurface(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ, @NotNull ChunkGenerator.ChunkData chunkData)`
Shapes the Chunk surface for the given coordinates.