mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-04 22:59:07 +02:00
Use biome data
This commit is contained in:
parent
143b9f6c78
commit
9b1d92387d
5 changed files with 20 additions and 4 deletions
|
@ -41,9 +41,11 @@ struct Block {
|
|||
uint8_t blockLight;
|
||||
uint8_t skyLight;
|
||||
|
||||
Block() : id(0), data(0), height(0), blockLight(0), skyLight(0) {}
|
||||
uint8_t biome;
|
||||
|
||||
uint32_t getColor(uint8_t biome) const;
|
||||
Block() : id(0), data(0), height(0), blockLight(0), skyLight(0), biome(0) {}
|
||||
|
||||
uint32_t getColor() const;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue