I am trying (and failing miserably) to write a datapack command sequence that will:
Allow any player to walk up to any animal within a distance of ten blocks, click it with a lead in their hand and then run an effect command on the animal that the lead was used on.
I also want the effect to stay on the animal until the lead is removed.
Can anyone help me out with this?
(I know that a scoreboard value will have to be used. I know that this command may have to be duplicated for each kind of animal. I know that this will require at the least a load.json and a tick.jason, with their respective functions.)
I would prefer if the solution you offer has been tested, BUT I will take ANY help I can get.
I am trying (and failing miserably) to write a datapack command sequence that will:
Thank you.