程序包 | 说明 |
---|---|
org.bukkit |
Bukkit的常用类.
|
org.bukkit.block |
用于操作在
世界 内的三位像素(方块),包括一些特定的状态. |
org.bukkit.generator |
简化
世界 生成实现的类. |
限定符和类型 | 方法和说明 |
---|---|
Biome |
World.getBiome(int x,
int z)
获取指定方块坐标的生物群系。
|
Biome |
ChunkSnapshot.getBiome(int x,
int z)
获取指定坐标的生物群系.
|
限定符和类型 | 方法和说明 |
---|---|
void |
World.setBiome(int x,
int z,
Biome bio)
设置指定方块坐标的生物群系
原文:
Sets the biome for the given block coordinates
|
限定符和类型 | 方法和说明 |
---|---|
Biome |
Block.getBiome()
Returns the biome that this block resides in
|
static Biome |
Biome.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Biome[] |
Biome.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
void |
Block.setBiome(Biome bio)
Sets the biome that this block resides in
|
限定符和类型 | 方法和说明 |
---|---|
Biome |
ChunkGenerator.BiomeGrid.getBiome(int x,
int z)
根据被生成区块的X,Z坐标获取生物群系。
|
限定符和类型 | 方法和说明 |
---|---|
void |
ChunkGenerator.BiomeGrid.setBiome(int x,
int z,
Biome bio)
根据被生成区块的X,Z坐标设置生物群系。
|