Will there be "switch cases"?

Started by ShAdOw112 on Fri, 01/27/2023 - 17:50

Topic category: Feature requests and ideas for MCreator

Last seen on 12:01, 16. Feb 2023
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Will there be "switch cases"?
Fri, 01/27/2023 - 17:50

So, after making some personal mods I've found out the same problem - too many 'if -> elif -> else" for the same things causes unexpected bugs and headache. That's why I'd have wanted to have "Switch -> case -> default" structure, which could at least solve 'repeating' problems. I know I can replace "if else" by direct coding, but that would be too unpredictable and inconvinient, because I'm used to make mods without keyboard-coding.

Is there any hope we will get "switch-cases" in the following updates?