add Chunk.blocksMetadata
This commit is contained in:
@@ -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} {
|
||||
|
||||
Reference in New Issue
Block a user