Custom Code blocks in Blockly editor

Started by Isalick34 on

Topic category: Feature requests and ideas for MCreator

Active 23 hours ago
Joined Oct 2021
Points:
613

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 73
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
You can find custom code…
Wed, 02/22/2023 - 09:52

You can find custom code blocks in the advanced section in the procedure editor

Active 23 hours ago
Joined Oct 2021
Points:
613

User statistics:

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

Which blocks are you referring to?

Active 1 month ago
Joined Jul 2022
Points:
1846

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 19
  • Comments: 1737
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.

Active 23 hours ago
Joined Oct 2021
Points:
613

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 73
oh ok
Wed, 02/22/2023 - 19:51

oh ok