diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-08 04:30:01 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-08 04:43:23 +0200 |
commit | 55b5e60b189490c33b415e3c956800da21064e3b (patch) | |
tree | 6fdb92acbdaeb7ddb08f92b21fa5167242ab7721 /src/Block.hpp | |
parent | More data saved in Settings (diff) | |
download | AltCraft-55b5e60b189490c33b415e3c956800da21064e3b.tar AltCraft-55b5e60b189490c33b415e3c956800da21064e3b.tar.gz AltCraft-55b5e60b189490c33b415e3c956800da21064e3b.tar.bz2 AltCraft-55b5e60b189490c33b415e3c956800da21064e3b.tar.lz AltCraft-55b5e60b189490c33b415e3c956800da21064e3b.tar.xz AltCraft-55b5e60b189490c33b415e3c956800da21064e3b.tar.zst AltCraft-55b5e60b189490c33b415e3c956800da21064e3b.zip |
Diffstat (limited to '')
-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 |