Curios API (Forge/NeoForge)

Curios API (Forge/NeoForge)

140M Downloads

[Bug]: Singleplayer - Only first item for each slot is saved, others are lost after relogging

Malvlis opened this issue ยท 0 comments

commented

Minecraft Version

1.20.6

What happened?

While testing a new mod in single player, items kept disappearing. Seems only the first item in each stack is saved, and the remaining are lost.
Replicated using minimal datapack + Curios only, to exclude interference from other mods or buggy code.

The datapack itself (attached) only has the minimal files required to enable a "curio" inventory with 2 slots for holding diamonds.
test_curios.zip

Also tested adding two curio inventories with one slot each. In this case, both items are preserved.

Using:

  • Curios [8.0.0*+1.20.6]
  • forge [50.1.*]
  • Minecraft 1.20.6

How do you trigger this bug?

  1. New CurseForge profile with Curios as the only mod
  2. Add attached datapack
  3. Create a new world with the modpack enabled
  4. Give yourself 2 diamonds in creative and load them in the curio slots, one in each.
  5. Save and exit, and reload the map
  6. Check curio inventory, confirm that only the first diamond is present

Loader

Forge

Loader Version

50.1.6

Mod Version

curios-forge-8.0.0+1.20.6

Relevant Log Outputs

No response