OpenNBS / OpenNoteBlockStudio

An open-source Minecraft music maker.
https://opennbs.org/
MIT License
730 stars 50 forks source link

Failed to read the vanilla structure template #363

Open Wehrmachtserdbeere opened 1 year ago

Wehrmachtserdbeere commented 1 year ago

Describe the bug When trying to load the NBT file via LiteMatica, it gives an Error: Exception while trying to read schematic from file, 'C:Users\gastg\AppData\Roaming\.Minecraft schematics\MUSIC Lost Kitten.nbt Failed to read the vanilla structure template from "MUSIC Lost Kitten.nbt"

To Reproduce Steps to reproduce the behavior:

  1. Load .mid(i) song into ONBS
  2. Export as Structure
  3. Check 1.13+
  4. When done, go into Minecraft
  5. Try to load the NBT file

Expected behavior It should load a schematic of the structure

Screenshots Added image

Additional context I attempted to open it in Cubical.xyz and all the note blocks were shown as sponges. Using a schematic made the same day in the original NBS, it showed everything correctly.

chenxi050402 commented 1 year ago

The .nbt structure ONBS exported does not strictly follow the minecraft structure format mainly because of the structure size limit. It should load properly when using structure blocks. For other softwares like litematica, exporting as 1.12 schematics is the best option.