Closed piegamesde closed 6 years ago
Thanks for this, but this does not explain why there isn't a long array tag. Don't we need one if Minecraft specifies one?
LongArrayTag looks to have been introduced with MC 1.12, so fairly recently. I'll writeup a PR to address this.
If you're there, please add a comment into the code indicating that the ShortArrayTag is not part of the official file format. It may confuse users or even break things when used inappropriately.
The
TagType
class defines:What is a "short array"? The inofficial documentation I found (Minecraft wiki in different languages as well as wiki.vg) has no short array. Instead, there should be a long array with ID 12. And why does it have ID 100?
I haven't looked at the original Minecraft source code though.