Make command affect only one player

Started by thesleever on

Topic category: Help with modding (Java Edition)

Last seen on 20:22, 16. Apr 2022
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make command affect only one player

I'm trying to make a custom command, but i don't quite understand how to do so every time if some specific player executes it, only he gets affected by the command.
Help?

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's a procedure block…
Mon, 03/28/2022 - 20:03

There's a procedure block that says something like run command as event/target entity. If you use that and use @s as the target in the command it will target the event/target entity.