Adding an "else" hook

Started by OWOowOooadeofo… on

Topic category: Feature requests and ideas for MCreator

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding an "else" hook

Please add an "else" hook for an if then else statement so you can put as many else's as you want. If Then Else Else Else Else Else Else. Etc.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can press the cogwheel…
Mon, 10/07/2019 - 23:43

You can press the cogwheel drag drop the items.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Then press the cogwheel…
Mon, 10/07/2019 - 23:43

Then press the cogwheel again to close it

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But that doesnt let me get…
Tue, 10/08/2019 - 00:02

But that doesnt let me get more than 1

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use else if
Tue, 10/08/2019 - 00:35

Use else if

You can only use one else,…
Tue, 10/08/2019 - 08:12

You can only use one else, it is the block that executes if all other if and else if blocks don't. I suggest you to find and watch a tutorial on how if statements work in programming to get a grasp on them :)