data/minecraft/tags/functions/
is now data/minecraft/tags/function/
so the previous version was broken.
It works on 1.21.x but some versions will show an incompatible warning!
Mod release
Datapack release
It works on 1.17 - 1.20.x but some versions will show an incompatible warning!