枚举的使用
org.bukkit.block.Biome
使用Biome的程序包
程序包
说明
Bukkit API的顶级程序包, 包含通用的API类和接口.
用于操作在
世界
内的三位像素(方块),包括一些特定的状态.简化
世界
生成实现的类.提供多种目的和单一目的的类以简化各种编程概念.
-
org.bukkit中Biome的使用
类型参数类型为Biome的org.bukkit中的字段返回Biome的org.bukkit中的方法修饰符和类型方法说明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更新后生物群系已三维化参数类型为Biome的org.bukkit中的方法修饰符和类型方法说明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的使用
返回Biome的org.bukkit.block中的方法修饰符和类型方法说明Block.getBiome()
返回方块所在位置的生物群系.static Biome
返回带有指定名称的该类型的枚举常量。static Biome[]
Biome.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为Biome的org.bukkit.block中的方法 -
org.bukkit.generator中Biome的使用
返回Biome的org.bukkit.generator中的方法修饰符和类型方法说明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返回变量类型为Biome的类型的org.bukkit.generator中的方法参数类型为Biome的org.bukkit.generator中的方法 -
org.bukkit.util中Biome的使用
返回Biome的org.bukkit.util中的方法