Started by
Black Shadow
on
Topic category: Help with Minecraft modding (Java Edition)
Hi !
I would like to make a procedure that checks at each tick (already put in the trigger) if a neutral or hostile creature is targeting/targeting the player and if so give it a knockback in the opposite direction to the player.
Only I can't find blocks to check if the player is targeted or not...
Is there an alternative please?
Have a good day !