how to set an entity for a command

Started by Lilmrmagoo on

Topic category: Help with modding (Java Edition)

Last seen on 00:51, 3. Nov 2020
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to set an entity for a command

hello i'm trying to do a command then when executed changes the players nbt but im not sure if how to get it so you can type a players name for it to change that players data

ex /gamemode 1 [playername] would change that player into creative while /gamemode 1 will change the person who typed it into creative.

Last seen on 01:06, 31. May 2023
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I too am trying to find out…
Tue, 10/15/2019 - 23:29

I too am trying to find out how to do this.