diff options
Diffstat (limited to 'src/Block.hpp')
-rw-r--r-- | src/Block.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Block.hpp b/src/Block.hpp index cd01f9a..c922adf 100644 --- a/src/Block.hpp +++ b/src/Block.hpp @@ -1,6 +1,7 @@ #pragma once #include <functional> +#include <utility> struct Block { Block(); @@ -42,4 +43,7 @@ namespace std { return (id & state << 1); } }; -}
\ No newline at end of file +} + +//returns name of blockstate and name of variant +std::pair<std::string, std::string> TransformBlockIdToBlockStateName(BlockId blockId);
\ No newline at end of file |