Package cn.nukkit.level.format
Interface ChunkSection3DBiome
- All Known Implementing Classes:
ChunkSection
,EmptyChunkSection
-
Method Summary
Modifier and TypeMethodDescriptionint
getBiomeId
(int x, int y, int z) 获取子区块中某个特定位置的生物群系idvoid
setBiomeId
(int x, int y, int z, byte id) 设置子区块中某个特定位置的生物群系id
-
Method Details
-
getBiomeId
int getBiomeId(int x, int y, int z) 获取子区块中某个特定位置的生物群系id- Parameters:
x
- [0, 16)y
- [0, 16)z
- [0, 16)- Returns:
- 特定位置的生物群系id
-
setBiomeId
void setBiomeId(int x, int y, int z, byte id) 设置子区块中某个特定位置的生物群系id- Parameters:
x
- [0, 16)y
- [0, 16)z
- [0, 16)id
- 生物群系id
-