[1.16.5] newest update causes datapacks to not load
Colin-J-Wood opened this issue ยท 2 comments
I found this bug whilst testing why the loot tables for Mobifier mod were not being seen correctly, as that mod considered them as "unknown"
in global packs 1.10.2 for mc 1.16.5, they load fine, but when I update to 1.10.3 mobifier returns the following error:
[18Apr2023 20:31:58.918] [Server thread/ERROR] [corgitaco.mobifier.Mobifier/]: Found unknown loot table(s) for "minecraft:zombie": minecraft:entities/monster_food, minecraft:entities/monster_ammo, minecraft:entities/monster_potion, minecraft:entities/monster_explosive, minecraft:entities/monster_emerald,
(the above is a list of json loot tables that I have in the minecraft namespace)
considering that downgrading your mod was the fix, I assume it is at fault somewhere. If the loading order was changed, maybe it accidentally has broken loading at all due to reading the config? my config was never changed between instances and I'm unsure if that could have caused this behaviour.
It likely changed the loading order, yes.
Packs were always supposed to be loaded from top to bottom in the config files, and for folders, alphabetically.
This was broken, however, and the order was kind of randomized. (Based on hashes of the names).
If you weren't affected by this, I recommend to stay on 1.10.2, if you were affected you might have to reorder your config.
I'll add a disclaimer to the changelog of the file so people are aware.
(If it isn't the order, please let me know, I didn't touch datapacks at all in this update, except the ordering thing, but wouldn't be surprised if there were unwanted side effects.)