Make command affect only one player

Started by thesleever on

Topic category: Help with Minecraft modding (Java Edition)

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?

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.