枚举的使用
org.bukkit.block.Biome
使用Biome的程序包
-
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中的方法 -
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中的方法修饰符和类型方法说明abstract Biome
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中的方法