how to exit minecraft (like alt + f4) through function or procedure?

Started by vlonabuser on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Jun 2022
Points:
536

User statistics:

  • Modifications: 0
  • Forum topics: 27
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
how to exit minecraft (like alt + f4) through function or procedure?

really need it for my mod, tried System.exit() but its not working