blocks_str function

Convert block data from nbt format to a string