KubeJS Custom Events
Modby Lillo97
A KubeJS addon to allow users to implement mod events in their scripts
Type
Mod
CurseForge Downloads
1,625
CurseForge ID
1400357
Last Updated
Jul 29, 2026
Description
⚡ KubeJS Custom Events Addon
This is a lightweight utility add-on designed to bridge the gap between Java mod code and KubeJS scripts, significantly expanding your capabilities in modpack development.
🎯 Key Features
-
Custom Global Bindings: Exposes the Java-side method OnCustomEvent directly to KubeJS scripts. This allows any Java code in your mod (or any other mod you extend) to fire named, data-carrying events that can be intercepted and handled instantly by a JavaScript listener.
-
External Event Bridge: Provides robust helper methods to easily register JavaScript listeners to complex NeoForge events (e.g., from mods like MineColonies, Botania, etc.). This makes handling intricate mod events simple and straightforward via KubeJS scripts.
-
Simplified Integration: Ideal for modpack creators and developers who need to connect deep Java logic (such as game state changes, API calls, or timed events) to a dynamic scripting environment without the need for constant recompilation.
In essence, this mod transforms hidden Java functionality into clean, scriptable KubeJS commands.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Shifting's Escape From Tarkraft
Modern weapons. Tactical gear. A high-stakes multiplayer extraction shooter inside Minecraft.
Orc Hut
This mod adds orc monsters along with their new orc hut
Falling Trees Physics
Lets trees fall when you fell them using a physics library (Sable)
Primitive Mobs Revived
Small mod that adds 26 vanilla-styled mobs to Minecraft - Unofficial port of Primitive Mobs
Self-Care Hive
Bees autonomously heal themselves and repopulate their hives.
Fallen Log Hideout
Adds a fallen log hideout to forest biomes