feat: blockstates
still a work in progress
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <functional>
|
||||
|
||||
namespace BlockStateDecoderRegistry
|
||||
{
|
||||
using DecoderFn = std::function<std::wstring(int)>;
|
||||
|
||||
void registerDecoder(int tileId, DecoderFn fn);
|
||||
|
||||
std::wstring decode(int tileId, int composite);
|
||||
}
|
||||
Reference in New Issue
Block a user