-
Bug
-
Resolution: Unresolved
-
None
-
1.19.3, 23w05a
-
None
-
Plausible
-
Commands, Data Packs
-
Important
-
Platform
The Bug:
Basically the title, writing an invalid reference in the tick/load function tag of a data pack prevents functions from the tick/load tag of all other data packs from running. Edit : The issue seems to depend on the order the data packs are loaded, if they are loaded before or after the broken data pack.
Context:
This is annoying and confusing for the players; people often download several data packs in a row, and complain to other data pack authors that their own are broken or incompatible, whereas it is just a single bad data pack that blocks them. Removing or disabling the data pack that has missing references just makes all other data packs work correctly again.
Steps to Reproduce (and Observed Behaviors):
- Download the attached FonctionalDataPack and BrokenDataPack data packs.
- Create a new world, and add only the FonctionalDataPack during creation. -> A message "FonctionalDataPack has been loaded correctly!" will be shown from the load function. A "pling" sound will play and a soul_fire particle will be shown in front of the player each tick from a tick function.
- Add the BrokenDataPack to the world and use the /reload command. -> The commands of the load and tick functions of the FonctionalDataPack won't run anymore.
- If you want, try to disable the BrokenDataPack with the /datapack disable "file/BrokenDataPack" command. -> The commands of the load and tick functions of the FonctionalDataPack will run correctly again.
Expected Behavior:
The game should just warn and skip the missing references, letting the other data packs functions-tags (or valid references in this same functions-tag) run, so it won't compromise the functioning of other data packs.