How to get a "for do" procedure loop block instead of the "while do" block ?

Started by JSC Dawn on Sat, 02/04/2023 - 01:08

Topic category: Help with MCreator software

Last seen on 08:30, 5. Mar 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to get a "for do" procedure loop block instead of the "while do" block ?
Sat, 02/04/2023 - 01:08

I've been trying to find a way to get a "for do" loop block instead of the standard "while do" block, i just want to know how to recreate this code snippet using procedure blocks "for (int index0 = 0; index0 < (int) (10); index0++) {". I tried to use arraylists and command parameters to get this code using procedures but none of them worked, when i tried to use code snippets it gave me an error in the console.

 I also tried other procedures but I can't seem to recreate a "for do" block. Any help would be great.