How to detect other player near player

Started by BySquarix on

Topic category: Help with modding (Java Edition)

Last seen on 23:03, 25. Jun 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect other player near player

I'm trying to make it so that if a player is near another player he will receive a potion effect however the "does entity exist" procedure count the original player

Last seen on 23:03, 25. Jun 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks
Sat, 06/08/2024 - 18:46

thanks

Last seen on 14:54, 25. Jun 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Forgot to mention if you don…
Sat, 06/08/2024 - 18:55

Forgot to mention if you don't want the "caster" player to receive an effect you add : and not Entity Iterator = Event/Trigger Entity