BreakMe
The BreakMe mod allows configuring events (death or taking damage) that cause Minecraft to crash. There is also an option to completely shut down the operating system or cause it to crash.
Built on Fabric, but porting to other platforms should not be difficult since most of the code is written in standard Java using JNI.
Important warning: Forced shutdown of the OS or its emergency termination during active processes may lead to data loss. The responsibility for the consequences of enabling such settings lies with the user.
Configuration
It is recommended to use Mod Menu to change the configuration. Below is a detailed description of the available parameters:
Trigger Event
- Damage: Emergency termination activates when taking any damage
- Death: Triggers when the character dies
- All: Launches when any of the above events occur (currently equivalent to damage)
- None: Function disabled
Execution Methods
- Unsafe_Universal_Forkbomb: Launch of self-replicating processes
- Unsafe_Windows_WinAPI: Using JNI to instantly cause a blue screen in Windows
- Unsafe_Universal_OOM: Triggering an out-of-memory exception
- Broken_Universal_ExitCode: Shutting down the integrated server (the game remains visible but world interaction is impossible)
- Safe_Universal_Hang: Freezing the client and server thread
- Safe_Universal_Exception: Performing an invalid operation with error report creation
- SemiUnsafe_Universal_Exception: Generating a security exception (does not work in version 1.16.2)
- SemiUnsafe_Universal_Shutdown: Attempting to execute a system shutdown command
- SemiUnsafe_Universal_Segfault: Causing a segmentation fault via lwjgl
- SemiUnsafe_Universal_StackOverflow: Infinite recursion for stack overflow
- None: No action
Note: Methods marked "Unsafe" and the system shutdown function are not available in the CurseForge version.