Try and catch

Started by Blabliblubpaul22 on

Topic category: Advanced modding

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try and catch

Is there something like "try and catch" in the procedure Editor?  If not , can you add it? 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
catch what?
Wed, 10/06/2021 - 15:02

catch what?

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try and catch, the java…
Wed, 10/06/2021 - 16:53

try and catch, the java function

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it trys to do somethings,…
Wed, 10/06/2021 - 16:54

it trys to do somethings, like get a file, and if the file is not existing, the programm don't crashes and the code do the catch block

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I honestly thought this was…
Wed, 10/06/2021 - 16:58

I honestly thought this was already possible with a plugin

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
don't remember, I saw it one…
Wed, 10/06/2021 - 17:15

don't remember, I saw it one time but idk