Help with command parameters?

Started by Glowing0v3rlord on Fri, 07/09/2021 - 19:13

Topic category: Help with modding (Java Edition)

Last seen on 20:37, 9. Sep 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with command parameters?
Fri, 07/09/2021 - 19:13

Hi, I'm trying to make a command called /dummies <value> that summons <value> number of husks at my location. For example, if I did /dummies 50, it would spawn 50 husks. However, the command parameters are strings, so I'm having trouble inserting the value of the parameter into a repeat block. How might I go about this?

Last seen on 20:37, 9. Sep 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Nevermind, I figured it out…
Fri, 07/09/2021 - 19:21

Nevermind, I figured it out. I used a number from text block.