i am creating a datapack and i have a very strange bug : the #minecraft:tick function is not looping every tick
in fact, i of course created the tick.json in the (data pack name)/data/minecraft/tags/functions folder, i checked syntaxe at least 20 times, but it still don't work (i am only using stuff_like_that as namespaces)
actually, when i manually run the command /function #minecraft:tick it works as i want, but its not looping
i also tried to reload, changed stuff in the load.mcfunction (and so in the load.json) but nothing to do, it doesnt work
as long as i really can't find a mess from me, and i really searched one, i suppose it is a bug
Attachments
Comments 7
by the way i also tried to put this following command :
/function #minecraft:tick
In a repeat command block, still don't work
The function is indeed being run every tick. The reason it may not appear to be working is because commands run by functions are executed at the world spawn by default. Try replacing
execute as @p run ...
with
execute as @p at @s run ...
to ensure that the command is run from the player's location.
[^Wool Effects [21w14+] [Data Pack].zip]