How to copy+paste a procedure?!

Started by FAKE1007 on Sat, 06/30/2018 - 14:09

Topic category: Help with MCreator software

Last seen on 13:44, 15. May 2020
Joined Oct 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to copy+paste a procedure?!
Tue, 07/03/2018 - 10:23 (edited)

I cannot copy+paste procedures even if I do with code! EXPLAIN PLS

Edited by FAKE1007 on Tue, 07/03/2018 - 10:23
Last seen on 01:42, 20. Sep 2019
Joined Mar 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I was wondering the same btw…
Sun, 07/01/2018 - 02:19

I was wondering the same btw i don’t think you can which is pretty annoying 

Last seen on 13:44, 15. May 2020
Joined Oct 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Plus one
Mon, 07/02/2018 - 19:08

Plus one

Last seen on 13:44, 15. May 2020
Joined Oct 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Bump
Mon, 07/02/2018 - 19:08

Bump

Last seen on 11:41, 17. Oct 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Calm down. You can use the…
Tue, 07/03/2018 - 09:18

Calm down.

You can use the same procedure for 2 or more mod elements. If you want them to have little differences, you can use some if conditions.

Example: you make 2 items. Both of them do a few things, but at the end of the procedure one explodes and the other makes a lightning. Instead of making 2 very similar procedures, you can make a single procedure, then, at the end of the procedure, you can use an if condition (example: if item in entity's main hand = item) for checking the item then doing an explosion or a lightning based on the item in hand.

(Sorry for bad English)

 

Last seen on 01:42, 20. Sep 2019
Joined Mar 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks for replying (I know…
Tue, 07/03/2018 - 10:38

Thanks for replying (I know what you mean)

The problem is sometimes i have made a mod element and then the recompilation keeps failing because of it. So i deleted it and made a new element exactly the same way but this time the recompilation worked. So it would have been useful to have been able to copy the code especially because it was kinda long