I am currently working on a datapack and wrote an automated build process in Java to produce a zipped datapack.
When I drag that Java-zipped datapack into the datapack folder of a world, it will load the meta file and provide the description when using /datapack list but nothing from the datapack works, such as recipes or functions.
When I zip the datapack via the windows right-click menu, the datapack is detected and works perfectly fine.
The structure inside the zipped file is the same for both of them and yet, only the self-sipped seems to work.
I have attached:
the datapack that doesn't work (Java-zipped) (mc_betterpack.zip)
the datapack that is working (self-zipped) (mc_betterpack working.zip)
the code that I use to zip the datapack (zip.txt)
an image that shows that the datapack loads in either cases but won't work in the Java case (loaded datapack.png)
Thank you for your report!
We suspect that this does not occur in the latest version of Minecraft.
Is this issue present in the latest version of Minecraft?
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki