nbted
nbted copied to clipboard
Unknown tag type minecraft:sandstone_wall_from_sandstone_stonecutting
I've converted a level.dat file to .txt, edited it, and while converting it back to a .dat file, i got this error
Error: Unable to parse text file level.txt
caused by: Unknown tag type minecraft:sandstone_wall_from_sandstone_stonecutting
This is the part that has that text
Compound ""
Compound "Data"
Compound "Player"
Compound "recipeBook"
List "tobeDisplayed" String 241
...
"minecraft:sandstone_wall_from_sandstone_stonecutting"
...
To confirm could you send a test file that reproduces this?
Probably the issue is that the list length is wrong. In the nbted format you're required to specify the length of the list. If the length is smaller than the number of entries you've put in you'll get that error (it looks for the starting tag of the next element but instead finds a list element).
It would be nice to make specifying the list length optional, but I don't see any way to do so without it being a breaking change.