mojira.dev
MC-124122

Zipped datapacks cannot be loaded

The bug

If you have a zipped data pack in your datapacks folder, it won't be loaded – only data packs in regular folders will be loaded.

How to reproduce

  1. Create a valid data pack

  2. Put it into your datapacks folder

  3. ✔ Run /reload, then /datapack list enabled (and if you want, /datapack list available as well) to see that it's actually loaded

  4. Now zip the data pack (make sure that there isn't an extra folder; the pack.mcmeta file must directly be in the zip folder) and put it into the datapacks folder

  5. Make sure that the unzipped data pack is no longer in your datapacks folder

  6. ❌ Run /reload, then /datapack list enabled (and if you want, /datapack list available as well) to see that it's not loaded

Original report

Datapack doen'st work on Server. At server boot, the zip is loaded but the advancements and the data inside the zip are not available on the server.

In the uploaded images, you can see the exemple with the function refresh_price.

The datapack work well with the last 2 previous snapshot

Attachments

Comments 5

Please attach the pack and log file.

It's done. The bug is resolved ? The error is from my datapack ?

It doesn't look like this is resolved. I have a datapack that works when uncompressed and worked from a compressed version in 17w50a but no longer works compressed in 18w01a and 18w02a. The log shows it being identified and does not report any errors but the functions are not available from within the game.

The datapack .zip file is available here and an example of the game log here.

I've rewritten your report, I hope you're fine with that.

No problem, thanks 😉

Romain C

Nathan Adams

Confirmed

data-pack

Minecraft 18w02a

Minecraft 18w03a

Retrieved