I would like to know how to execute a command in a procedure.

Started by blackfox3482 on

Topic category: Help with modding (Java Edition)

Last seen on 16:41, 10. Apr 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would like to know how to execute a command in a procedure.

I want to create a procedure so that it executes a command, for example /gamemode creative blackfox
but I still can't figure out how to do it.

I apologize if such a topic is already on the forum, I really couldn't find it.

Last seen on 16:20, 15. Mar 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It actually is pretty simpleā€¦
Wed, 03/02/2022 - 19:38

It actually is pretty simple. You need to create a function and type in the commands. Then, you can call it in a procedure.