# 接口的使用
org.bukkit.generator.WorldInfo

使用WorldInfo的程序包
程序包
说明
org.bukkit
Bukkit API的顶级程序包, 包含通用的API类和接口.
org.bukkit.generator
简化`世界`生成实现的类.

- ## org.bukkit中WorldInfo的使用

  org.bukkit中WorldInfo的子接口
  修饰符和类型
  接口
  说明
  `interface`
  `World`
  代表一个世界,包含了`实体`,`区块`,`方块`

- ## org.bukkit.generator中WorldInfo的使用

  参数类型为WorldInfo的org.bukkit.generator中的方法
  修饰符和类型
  方法
  说明
  `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.
  `int`
  ChunkGenerator.`getBaseHeight(@NotNull WorldInfo worldInfo, @NotNull Random random, int x, int z, @NotNull HeightMap heightMap)`
  This method is similar to `World.getHighestBlockAt(int, int, HeightMap)`.
  `abstract @NotNull Biome`
  BiomeProvider.`getBiome(@NotNull WorldInfo worldInfo, int x, int y, int z)`
  Return the Biome which should be present at the provided location.
  `@NotNull Biome`
  BiomeProvider.`getBiome(@NotNull WorldInfo worldInfo, int x, int y, int z, @NotNull BiomeParameterPoint biomeParameterPoint)`
  Return the Biome which should be present at the provided location.
  `abstract @NotNull List<Biome>`
  BiomeProvider.`getBiomes(@NotNull WorldInfo worldInfo)`
  Returns a list with every biome the `BiomeProvider` will use for the given world.
  `@Nullable BiomeProvider`
  ChunkGenerator.`getDefaultBiomeProvider(@NotNull WorldInfo worldInfo)`
  Gets called when no `BiomeProvider` is set in `WorldCreator` or via the server configuration files.
  `void`
  BlockPopulator.`populate(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ, @NotNull LimitedRegion limitedRegion)`
  Populates an area of blocks at or around the given chunk.
  `boolean`
  ChunkGenerator.`shouldGenerateCaves(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ)`
  Gets if the server should generate Vanilla caves.
  `boolean`
  ChunkGenerator.`shouldGenerateDecorations(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ)`
  Gets if the server should generate Vanilla decorations after this ChunkGenerator.
  `boolean`
  ChunkGenerator.`shouldGenerateMobs(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ)`
  Gets if the server should generate Vanilla mobs after this ChunkGenerator.
  `boolean`
  ChunkGenerator.`shouldGenerateNoise(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ)`
  Gets if the server should generate Vanilla noise.
  `boolean`
  ChunkGenerator.`shouldGenerateStructures(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ)`
  Gets if the server should generate Vanilla structures after this ChunkGenerator.
  `boolean`
  ChunkGenerator.`shouldGenerateSurface(@NotNull WorldInfo worldInfo, @NotNull Random random, int chunkX, int chunkZ)`
  Gets if the server should generate Vanilla surface.