add block particles property

This commit is contained in:
MihailRis
2024-11-04 22:48:39 +03:00
parent 24af455bf0
commit 0eeb6b6eb2
11 changed files with 180 additions and 23 deletions
+4
View File
@@ -60,6 +60,10 @@ public:
return get(pos.x, pos.y, pos.z);
}
inline const voxel* get(glm::ivec3 pos) const {
return get(pos.x, pos.y, pos.z);
}
light_t getLight(int32_t x, int32_t y, int32_t z) const;
ubyte getLight(int32_t x, int32_t y, int32_t z, int channel) const;
void set(int32_t x, int32_t y, int32_t z, uint32_t id, blockstate state);