Interface ChunkSection3DBiome

All Known Implementing Classes:
ChunkSection, EmptyChunkSection

@PowerNukkitXOnly @Since("1.19.20-r3") public interface ChunkSection3DBiome
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getBiomeId(int x, int y, int z)
    获取子区块中某个特定位置的生物群系id
    void
    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