Parsing .schem files in standalone Java app

Hello! Not sure if this is the right place for this question so please let me know if I should post it elsewhere.

I’m working on a personal/side project to build a layer-by-layer blueprint viewer like the old Schematic2Blueprint app, but updated for 1.18 and .schem files in the Sponge spec. I’m currently stuck on the part where I process a particular schematic file - I found a library called Schematic4j that claimed to do parsing of sponge-style schematics but it doesn’t seem to be in active development anymore and showed some weird behaviors when I tried to use it.

Is there a particular best practice standalone library package for this parsing process? I’d love Java but I’m also open to switching languages if there’s something else good out there.

Thanks for any help! :slight_smile:

Personally I would create my own.

This is the schema for sponge schematics V3

I believe worldedit supports V3, so take a look at that for inspiration. Sponge also (obviously) supports V3, so use that for inspiration too