Custom Code blocks in Blockly editor

Started by Isalick34 on

Topic category: Feature requests and ideas for MCreator

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Code blocks in Blockly editor
Wed, 02/22/2023 - 01:46 (edited)

I think it would optimize code a lot of you can create code blocks with custom inputs, booleans, etc. 
Like the custom blocks in the scratch editor
This will help me a lot because I sometimes have a lot of code blocks that do a certain thing and I have to put them down a bunch of times in one procedure and change one thing.
It would be much more convenient and less laggy.

Edit: I recently discovered how to properly use custom variables to kind of accomplish the same thing, but it would still be a cool feature.

Edited by Isalick34 on Wed, 02/22/2023 - 01:46
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Which blocks are you…
Wed, 02/22/2023 - 14:11

Which blocks are you referring to?

there are procedure blocks…
Wed, 02/22/2023 - 17:51

there are procedure blocks that allow you to use written code as part of a procedure in the advanced section. Also, you could create a plugin that adds new procedure blocks instead if you do not find that convenient.