I'm using prismarine-schematic, but this is a limitation of Protodef...
What to do? Do I remove the limit locally or do you reconsider this clause?
"code += 'if (count > 0xffffff) throw new Error("array size is abnormally large, not reading: " + count)\n'"