How large can a single Procedure be?

Started by Yusufhum3 on Sat, 08/10/2019 - 12:32

Topic category: General discussion

Last seen on 12:09, 22. Sep 2019
Joined Dec 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How large can a single Procedure be?
Sat, 08/10/2019 - 12:32

So, I`m currently making a sort of uncrafting table and I made a custom block with a custom gui and a procedure that checks if for example a pickaxe is in Slot 0 if it`s true it will disappear the pickaxe and place the 3 Diamonds and 2 sticks in the corresponding places in the 3x3 grid (all Output Slots) and for every item I need to make another procedure part and it kinda lags sometimes when I edit it. I wonder how much I could add if there`s a problem with that whatsoever.

Last seen on 17:22, 23. Sep 2019
Joined Mar 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I know that problem. On me,…
Sat, 08/10/2019 - 12:47

I know that problem. On me, it lagggged so much when I did a custom fishing with 4 baits, and 7 fishing rods. It can be infinity, it's just lags as hell

Last seen on 12:09, 22. Sep 2019
Joined Dec 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
is it possible to overcome…
Sat, 08/10/2019 - 13:00

is it possible to overcome this with making multiple procedures to reduce lag? 

Last seen on 17:22, 23. Sep 2019
Joined Mar 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Yes. I maked multiple…
Sat, 08/10/2019 - 13:13

Yes. I maked multiple procedures, exported them, and imported them in one. 

Last seen on 12:09, 22. Sep 2019
Joined Dec 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
ok thanks
Sat, 08/10/2019 - 13:20

ok thanks

Last seen on 18:53, 23. Sep 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Which version of MCreator do…
Sat, 08/10/2019 - 16:25

Which version of MCreator do you use? We will update the procedure editor library in 1.9.1 too so there should be a bit of a performance boost in this area in 1.9.1.

Last seen on 12:09, 22. Sep 2019
Joined Dec 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I use 1.9.0
Sat, 08/10/2019 - 19:47

I use 1.9.0

Last seen on 18:53, 23. Sep 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Well then I hope it will be…
Sun, 08/11/2019 - 09:30

Well then I hope it will be better in 1.9.1, other suggestion would be to collapse parts of the procedure once you are done with them, or use procedure call block and split procedure in sub-procedures.