twoolie / NBT

Python Parser/Writer for the NBT file format, and it's container the RegionFile.
MIT License
361 stars 74 forks source link

[Question] How to get block data from blockstates #157

Open pikachub2005 opened 2 years ago

pikachub2005 commented 2 years ago

I know it has something to do with bit packing, but that's it. Can someone explain how to get block data from blockstates? An example from a litematic file: 1190112520884487200