advanced plants test

This commit is contained in:
MihailRis
2024-08-20 20:58:36 +03:00
parent 5bdabaea42
commit a81555b979
3 changed files with 11 additions and 2 deletions
+5
View File
@@ -41,6 +41,7 @@ struct BiomeParameter {
float weight;
};
/// @brief Plant is a single-block structure randomly generating in world
struct PlantEntry {
/// @brief Plant block id
std::string block;
@@ -50,6 +51,10 @@ struct PlantEntry {
struct {
blockid_t id;
} rt;
bool operator>(const PlantEntry& other) const {
return weight > other.weight;
}
};
struct BiomePlants {