Any way to exit (crash) minecraft?

Started by Dr3voX on Fri, 12/11/2020 - 20:50

Topic category: Help with modding (Java Edition)

Last seen on 14:58, 7. Jun 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Any way to exit (crash) minecraft?
Fri, 12/11/2020 - 20:50

So im making cool modification, and i want to, for example, after right clicking some item minecraft to crash or just close. How can i do it? (sorry for bad language)

Last seen on 20:11, 24. Apr 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That is not possible except…
Fri, 12/11/2020 - 21:00

That is not possible except through coding a kill switch into your mod which i have no idea how to do.

Divide some number by zero…
Sat, 12/12/2020 - 18:24

Divide some number by zero in procedures and you will have a nice crash