neoLegacy/Minecraft.World/BlockStateDecoder.h
Fireblade d89fadff68 feat: blockstates
still a work in progress
2026-05-02 15:14:48 -04:00

20 lines
365 B
C++

#pragma once
#include <string>
#include "Tile.h"
namespace BlockStateDecoder {
// door stuff is here cause idk what i was doing when i intially started this
struct DoorProps {
int dir;
std::wstring dirName;
bool open;
bool upper;
bool hingeRight;
};
DoorProps decodeDoor(int composite);
std::wstring doorPropsToString(const DoorProps &p);
}