枚举的使用
org.bukkit.block.Biome
程序包
说明
Bukkit API的顶级程序包, 包含通用的API类和接口.
用于操作在
世界
内的三位像素(方块),包括一些特定的状态.简化
世界
生成实现的类.提供多种目的和单一目的的类以简化各种编程概念.
-
org.bukkit中Biome的使用
修饰符和类型方法说明ChunkSnapshot.getBiome
(int x, int z) 已过时。biomes are now 3-dimensionalChunkSnapshot.getBiome
(int x, int y, int z) Get biome at given coordinatesRegionAccessor.getBiome
(int x, int y, int z) 获取指定坐标的生物群系.World.getBiome
(int x, int z) 已过时。1.15更新后生物群系已三维化修饰符和类型方法说明boolean
Tests if this chunk contains the specified biome.boolean
Tests if this chunk contains the specified biome.World.locateNearestBiome
(@NotNull Location origin, int radius, int horizontalInterval, int verticalInterval, @NotNull Biome... biomes) Find the closest nearby location with a biome matching the providedBiome
(s).World.locateNearestBiome
(@NotNull Location origin, int radius, @NotNull Biome... biomes) Find the closest nearby location with a biome matching the providedBiome
(s).void
Sets theBiome
for the given block coordinatesvoid
void
已过时。1.15更新后生物群系已三维化 -
org.bukkit.block中Biome的使用
-
org.bukkit.generator中Biome的使用
修饰符和类型方法说明Return the Biome which should be present at the provided location.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.ChunkGenerator.BiomeGrid.getBiome
(int x, int z) 已过时。biomes are now 3-dimensionalChunkGenerator.BiomeGrid.getBiome
(int x, int y, int z) 已过时。Get biome at x, z within chunk being generatedChunkGenerator.ChunkData.getBiome
(int x, int y, int z) Get the biome at x, y, z within chunk being generated -
org.bukkit.util中Biome的使用