how to set an entity for a command

Started by Lilmrmagoo on

Topic category: Help with Minecraft modding (Java Edition)

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.

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.