add Chunk.blocksMetadata

This commit is contained in:
MihailRis
2024-09-14 20:26:36 +03:00
parent 3d219b9a1c
commit 44753904dc
3 changed files with 13 additions and 1 deletions
+3
View File
@@ -3,6 +3,7 @@
#include <utility>
#include "core_defs.hpp"
#include "data/StructLayout.hpp"
#include "util/stringutil.hpp"
std::string to_string(BlockModel model) {
@@ -102,6 +103,8 @@ Block::Block(const std::string& name)
} {
}
Block::~Block() {}
Block::Block(std::string name, const std::string& texture)
: name(std::move(name)),
textureFaces {texture, texture, texture, texture, texture, texture} {