Topic category: User side tutorials
I would like to add to my mod the ability to attack when the player is 20 blocks from the mob, where the mob is the "source entity" and the player is the "target entity". I can't find a way to do this. I tried with "player tick", and "entity tick" in the mob tab.
it's the first time I use help option so I don't know if I did it right.