![Spawn Animations [Data Pack]](https://media.forgecdn.net/avatars/thumbnails/871/160/256/256/638288454054918022.png)
Optional tag entries
Fyoncle opened this issue ยท 6 comments
So you know i have a mod called Elysium Days Tweaks, which there is modded spawn animations. And since one of the mods in the list doesn't exist the whole mod stops working, is there any way to make the datapack ignore them but still work with the other existing mobs in the list, because whole spawn animations break apart if even one of them doesn't exist.
No, unfortunately you have to wrap each entry individually. Technically, you could create a tag list for each mod and then reference it in the main file with {"id": "#spawnanimations:some_other_mod_digup_list", "required": false}
, but that's also a bit of work
No, unfortunately you have to wrap each entry individually. Technically, you could create a tag list for each mod and then reference it in the main file with
{"id": "#spawnanimations:some_other_mod_digup_list", "required": false}
, but that's also a bit of work
I'll just go and do the whole list then, thank you.
Yes, you can wrap the entries inside a {"id": "<id>", "required": false}
block to make them fail-safe, as I did here for the Bogged
Yes, you can wrap the entries inside a
{"id": "<id>", "required": false}
block to make them fail-safe, as I did here for the Bogged
Is there a way to make the whole list have that instead of doing it individually for every entry?
I tried to make:
{
"replace": false,
"required": false,
"values": [
"the mob names and stuff"
]
}
But it didn't work out.