ModsFinder
KE

KubeJS Entity Events Extension

by Snownee

KubeJS Entity Events Extension, a Fabric addon for KubeJS, adds entity events that KubeJS does not expose on its own, so server scripts can react to them.

FabricServer-side onlyGNU Lesser General Public License v3.0 onlyOpen source1.19.2

What it does

Scripts can now hook into events that were missing from KubeJS: an entity moving to a different world, a player moving to a different world, and the entity directly responsible for killing another entity. The extension also checks elytra flight, covering both the normal flight and custom elytras that a server allows. Each event's exact definition is documented in the source repository.

The extension needs KubeJS to run, since it only adds events to the scripting layer KubeJS provides. It runs on the server alone, so players need nothing extra to join. Builds target Minecraft 1.19.2 on Fabric alone. The latest file is 1.1.1, published on 2023-07-20, and the code is released under the GNU Lesser General Public License v3.0 only, making the project open source.

Development history starts with the first public file on 2023-02-16, and the latest update came on 2023-07-20. The source code and an issue tracker are publicly available for anyone who wants to read or report problems.

Key features

  1. Entity moved to another world

    A script receives an event when an entity changes dimension, so it can react to travel between worlds.

  2. Player moved to another world

    A separate event fires when a player changes dimension, distinct from the one used for ordinary entities.

  3. Killer entity event

    An event identifies the entity directly responsible for killing another entity, useful for custom kill rewards.

  4. Elytra flight checks

    Flight is verified for standard elytras and for custom elytras that the server allows, through script-accessible events.

Compatibility

Latest build for each game version and loader.

1.19.21.1.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

KubeJSEdit recipes, add new custom items, script world events, all in JavaScript!
Required

How it compares

Full comparison

Toggle Elytra is a Fabric client mod for 1.18 – 1.19.2 that players need, with the server optional, under the MIT License; it is open source. Fabric NMTQ is a server-side Fabric mod for 1.17.1 – 1.18.2 under the MIT License and open source, so a server on 1.19.2 cannot use it. MoreJS: KubeJS Addon is a client and server addon covering Fabric, Forge and NeoForge for 1.18.2 – 1.21.1 under the GNU Lesser General Public License v3.0 only, also open source, which makes it a choice for multiloader packs.

ModLoadersGame versionsEnvironmentUpdated
KubeJS Entity Events ExtensionFabric1.19.2Server-side only2023-07-20
Toggle ElytraFabric1.18 – 1.19.2Client required, server optional2022-08-07
Fabric NMTQFabric1.17.1 – 1.18.2Server-side only2022-05-26
MoreJS: KubeJS AddonFabric, Forge and NeoForge1.18.2 – 1.21.1Client and server2025-10-13

Questions

Does KubeJS Entity Events Extension need KubeJS?

Yes. KubeJS is a required dependency, because the extension only adds events to the KubeJS scripting layer.

Is it needed on the client as well?

No. Players join without it, since only the server has to run the mod.

Which Minecraft versions does it support?

Only 1.19.2. The latest file is 1.1.1 for 1.19.2, published on 2023-07-20, and no other game versions are published.

In the catalog

KubeJS Entity Events Extension is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 12,559 mods support Minecraft 1.19.2.

More from Snownee

All projects

Similar mods

What the author says

KubeJS EEX adds the following entity events for KubeJS: - an entity has been moved to a different world. - a player has been moved to a different world. - an entity is directly responsible for killing another entity. - check if elytra flight (both through normal and custom elytras) is allowed.
Snownee, on the Modrinth page

Official listing

Owner
Snownee
Published
2023-02-16
Updated on Modrinth
2023-07-20
Facts verified
2026-10-15

Tags