This command ran in a simple repeating commandblock works just fine, but when tried to be run in a function simply does not work:
scoreboard players tag @e[tag=Clicker] add lClick {HurtTime:10s}
Note: the entities with the tag "Clicker" are villagers.
Linked issues
duplicates 1
Comments 3
hold on...
but when I use it with commandblocks it it gets tag only when the player punches it but when modified to 9s in the function it starts working, but the only issue is the suffocaton damage is adding the tag too... any clue?
Are you running this function as
gameLoopFunction
, if so this is a duplicate of MC-117360.