Mod
KubeJS Custom Events
No reviews yet
A KubeJS addon to allow users to implement mod events in their scripts
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
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
OnCustomEventdirectly 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.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources