How to make a procedure that makes all of the nearby enderman's attack target the player (NOT RESOLVED)

Started by chezballs on

Topic category: Help with MCreator software

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a procedure that makes all of the nearby enderman's attack target the player (NOT RESOLVED)


I need to make a procedure that for when a block is broken by a player, all nearby enderman will attack the player or target entity. I can only find a block that can identify the nearest entity, but reusing the code multiple times doesn't work because the same mob will always be the closest. Any help is appreciated. I can show pictures if needed.