Features:
- Dynamic entity registry for declaring custom entities with their attributes and behaviours in JavaScript
- Entity modification event for altering existing entity methods
- Full animation support through Geckolib
- Spawn control over conditions rates and locations
- Attribute tuning for health speed damage and more
- Comprehensive AI behaviour set for interactive entities
- Installs as an addon alongside KubeJS
- Special compatibility with KubeJS Iron’s Spells
- Any mob can be given spellcasting through the goal event
- Custom spellcasters and spell projectiles can be created
- NeoForge support for Minecraft 1.21.1
- Made by Notenoughmail
EntityJS extends KubeJS so entire mobs can be created in script instead of compiled code. A dynamic registry lets you declare a new entity and describe its attributes and behaviour in JavaScript, while an entity modification event reaches into entities that already exist and lets you change their methods for further customization.
Behaviour is the real focus. A comprehensive set of AI functions is exposed to scripts, so custom mobs can be given intelligent and interactive routines, and attribute modification covers health, speed, damage and more. Spawn control decides the conditions, rates and locations at which your creatures show up in the world, which keeps a scripted mob from flooding a biome it was never meant for.
Animation is handled through Geckolib on current versions, so scripted mobs move as smoothly as anything shipped in a compiled mod. There is also dedicated compatibility with KubeJS Iron’s Spells: the goal event can attach spellcasting behaviour to any mob, fully custom spellcasters can be built with their own AI and spell sets, and custom spell projectiles can be defined for advanced combat and visual effects.