summaryrefslogtreecommitdiffstats
path: root/src/Block.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-08 04:30:01 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-08 04:43:23 +0200
commit55b5e60b189490c33b415e3c956800da21064e3b (patch)
tree6fdb92acbdaeb7ddb08f92b21fa5167242ab7721 /src/Block.hpp
parentMore data saved in Settings (diff)
downloadAltCraft-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.hpp6
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