Advanced call procedure block options

Started by MMG on Mon, 04/26/2021 - 09:33

Topic category: Feature requests and ideas for MCreator

Last seen on 18:51, 9. Jun 2021
Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Advanced call procedure block options
Mon, 04/26/2021 - 09:33

**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