How to add player arguments to custom command

Started by Raito on Fri, 02/28/2020 - 14:33

Topic category: Help with MCreator's application

Last seen on 14:33, 28. Feb 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
How to add player arguments to custom command
Fri, 02/28/2020 - 14:33

I'm currently trying to make a command that makes a lightning strike at an entity (sort of as a substitute for /summon Lightning_bolt). I'm wondering how I can make the mod take player arguments (@p, @a, etc)?

0Upvote this forum topic
Last seen on 09:38, 26. Mar 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
I am not sure that you can,…
Fri, 02/28/2020 - 23:16

I am not sure that you can, maybe you could just make it part of the command itself. eg. /Spawn @p lightning bolt, where @p is just part of the command, because I think that is what it does anyway

0Upvote this forum topic
Last seen on 18:22, 29. Mar 2020
Joined Apr 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
You can use <player>
Mon, 03/02/2020 - 01:19

You can use <player>

0Upvote this forum topic
Last seen on 06:25, 30. Mar 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
There is X Y Z in the …
Mon, 03/02/2020 - 01:32

There is X Y Z in the "Minecraft Components" section

0Upvote this forum topic