From 55b5e60b189490c33b415e3c956800da21064e3b Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Wed, 8 Aug 2018 07:30:01 +0500 Subject: Basic BlockState support --- src/Block.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Block.hpp') 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 +#include 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 TransformBlockIdToBlockStateName(BlockId blockId); \ No newline at end of file -- cgit v1.2.3