CurseForge · Minecraft mod
Native Event Guard
Prevents KubeJS native event listener errors from crashing Minecraft by logging them instead.
Quick answer
Which Native Event Guard release should I use?
Native Event Guard native_event_guard-1.0.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 3 required mods have matching files.
Where it goes
Is Native Event Guard required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Native Event Guard native_event_guard-1.0.jar need?
native_event_guard-1.0.jar. Change the file and its required mods may change too.
Install KubeJS, Rhino, Better Advanced Tooltips first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
2 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Native Event Guard without breaking your instance.
Built for Native Event Guard native_event_guard-1.0.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use native_event_guard-1.0.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install KubeJS, Rhino, Better Advanced Tooltips first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside native_event_guard-1.0.jar. It opens that exact file at the source.
About this project
What does Native Event Guard add?
Native Event Guard
Native Event Guard prevents ordinary exceptions thrown by KubeJS native event listeners from crashing Minecraft.
When a native event listener fails, this mod catches the exception and logs the error and stack trace so the game can continue running. It is designed for Minecraft 1.21.1 with NeoForge and KubeJS's built-in native event support.
Features
- Catches ordinary listener exceptions
- Writes the error and stack trace to the log
- Keeps the game running after a script error
- Leaves JVM-level errors outside the normal exception handling path
No configuration is required.
Project description from CurseForge.
Pick your setup
Native Event Guard by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Native Event Guard versions and loaders
native_event_guard-1.0.jar
6 Aug 2026
Looking for an older file? The official CurseForge project page is in Resources.