I am having trouble making sure that one of the entities is always inside of the player. I am able to get it to teleport to me, but when moving it lags behind which isn't a good thing for what I am trying to do.
/execute @a[x=~,y=~0.5,z=~,score_holdingWand_min=1] ~ ~ ~ /tp @e[type=Villager,name=rightClickDetector] @a
I want to keep this villager inside the player at all times, even when running and sprinting. If there is a way then that would be great.