Functions in datapacks work fine on a local map, but when I upload to Realms, things don't work.
It did work in 1.12, and I have been updating my map in the 1.13 release snapshots.
To be sure, I created a brand new map (in 1.13 release), and created a single function in the datapack (following the tutorial at https://minecraft.gamepedia.com/Tutorials/Creating_a_data_pack ), and again it works fine locally (the function is a single "say" command), but when I upload to Realms, it does not work.
Running `/datapack list` shows the datapack there, but it does not acknowledge the function at all (in autocomplete, nor when entering it, it says it does not exist). I have also tried making it a .zip file before uploading, again it works locally, but with a zip file it does not even show it in `/datapack list`. I have tried searching for this, but as realms has just been updated to 1.13, I'm guessing it's a new issue.
Let me know if you need anything else.
Linked issues
Attachments
Comments 12
is the issue "Datapacks not working at all" or more "Functions not working" like REALMS-1106 ?
I have only tested functions (I’m away from my computer for a while), so that’s likely correct as I could see the datapack loaded, so other things could work. I’ll test when I can and report back.
I have just tested with advancements, and they do work OK (I have not tested anything else). So I'm assuming this is just functions. I have updated the title to match. I'll also upload the function I'm using for testing (it's very simple, but saves manual setup).
I can also confirm that when downloading the world I uploaded, the functions directory is gone, but the advancements one is still there.
The datapack directory under YourDataPack/data/YourDataPack gets deleted when uploaded to Realms. I tested this, uploading a world that had a datapack installed, then downloaded it again and found only the /minecraft/ folder in the datapack folder. Everything else (all functions) were removed.
This issue has been resolved at some point. I was able to upload datapacks with functions, and use them, to my world earlier this morning.
O yeah! From the Minecraft Launcher logs:
{{ Successfully downloaded https://libraries.minecraft.net/com/mojang/realms/1.13.3/realms-1.13.3.jar }}
And things are working again! Nice 🙂
I guess this can now be closed as resolved (I don't appear to be able to do this myself).
Thanks!
Created REALMS-1105 for the zip-issue, since that's completely different.
Having a similar problem with a bit more advanced datapacks, however, they completely make the world unplayable on Realms. Works locally... probably an error in the datapack though, so won't create a ticket for that until I've investigated further.
The last line in the log says: