接口的使用
org.bukkit.generator.ChunkGenerator.ChunkData
-
org.bukkit中ChunkGenerator.ChunkData的使用
修饰符和类型方法说明static ChunkGenerator.ChunkData
Bukkit.createChunkData
(@NotNull World world) 创建一个 ChunkData 实例,以用于区块生成。Server.createChunkData
(@NotNull World world) 创建一个 ChunkData 实例,以用于区块生成。 -
org.bukkit.generator中ChunkGenerator.ChunkData的使用
修饰符和类型方法说明protected final @NotNull ChunkGenerator.ChunkData
ChunkGenerator.createChunkData
(@NotNull World world) 已过时。ChunkGenerator.generateChunkData
(@NotNull World world, @NotNull Random random, int x, int z, @NotNull ChunkGenerator.BiomeGrid biome) 已过时。The generation is now split up and the new methods should be used, seeChunkGenerator
修饰符和类型方法说明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.
ChunkGenerator.ChunkData
are now directly provided