Advanced call procedure block options

Started by MMG on

Topic category: Feature requests and ideas for MCreator

Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Advanced call procedure block options

**Describe the feature**

So, I was getting a little bit (just a little) into how procedures work since I encountered many bugs with google blockys and I discovered how call procedure block works, I have a little (a little) knowlidge of java, and since this is one of beginner things, I kinda understand how it works, more specifically the contrcuctor of it, so, what about having option to expand the constructor with out own variables? and then getting those variables in called procedures to work with them allowing for much more complex procedures or making them smaller (for performance reasons)

**How would you implement it?**

So, this is how it would work

it would work like "if" block, adding more parameters to the block (this was best image I could have done, it took me 30 minutes to make it)

then in called procedure, you get these by using these blocks

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Great idea, I hope found it…
Wed, 12/01/2021 - 18:41

Great idea, I hope found it on futures versions!