From 0b9fa6842db3eb22d8b6f04c6969940a3b41ccac Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 27 Jan 2019 17:12:47 +0500 Subject: Added portal blockstate --- src/Block.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Block.cpp b/src/Block.cpp index 2ef79e9..a12db9d 100644 --- a/src/Block.cpp +++ b/src/Block.cpp @@ -356,6 +356,9 @@ std::pair TransformBlockIdToBlockStateName(BlockId blo case 89: { return std::make_pair("glowstone", "normal"); } + case 90: { + return std::make_pair("portal", blockId.state == 1 ? "axis=x" : "axis=z"); + } case 93: { static const std::string dirs[] = { "east", -- cgit v1.2.3