Key Features
- Dynamic Entity Registry: Easily register custom entities and define their attributes and behaviors using JavaScript.
- Entity Modification: Modify existing entity methods with the entity modification event for further customization.
- Full Animation Support: Enjoy smooth and lifelike animations for your entities, utilizing LioLib, a Geckolib 4 fork backporting many fixes to the unsupported 1.19.2 version
(EntityJS 1.20.1+ Use Geckolib as a direct dependency because it is a supported version)
- Spawn Control: Take full control over entity spawning by specifying spawn conditions, rates, and locations.
- Attribute Modification: Fine-tune entity attributes such as health, speed, damage, and more to suit your gameplay needs.
- Full AI Support: Access a comprehensive set of AI behaviors and functions to create intelligent and interactive entities.
Getting Started
To start using EntityJS, simply install the addon alongside KubeJS and begin creating your custom entities and animations. Refer to the documentation for detailed instructions and examples.
Special Compatibility
KubeJS Iron's Spells
Visit KubeJS Iron's Spells Mod Page
- Spellcasting Mobs: You can make any Mob cast spells by using the Goal event to attach spellcasting behavior.
- Custom Spellcasters: Create fully custom spellcasting mobs with tailored AI, spell sets, and behaviors.
- Spell Projectiles: Define and control custom spell projectiles for advanced combat and visual effects.
Community
Join the official KubeJS Discord community to connect with other users, share your creations, and get help with any questions or issues you encounter while using EntityJS. Alternatively, you can click the Discord icon below:
Youtube Tutorials
How to Install EntityJS (Mod)
EntityJS by Notenoughmail is verified for Fabric, Forge, Neoforge across Minecraft versions 1.19.2, 1.20.1, 1.21, 1.21.1 (latest release: 1.5.2, file size: 3.5 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19.2, 1.20.1, 1.21, 1.21.1) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded EntityJS file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 116 | ||||
| 2mo ago | 58 | ||||
| 2mo ago | 39 | ||||
| 2mo ago | 29 | ||||
| 2mo ago | 23 | ||||
| 2mo ago | 19 | ||||
| 2mo ago | 17 | ||||
| 2mo ago | 14 | ||||
| 2mo ago | 13 | ||||
| 2mo ago | 12 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 10 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 |
- Fixed tamable entity StackOverflowError when no food predicate is set and is fed
- Fixed another wrapper cache issue with
createCustomentity builder
- Fixed tamable entity StackOverflowError when no food predicate is set and is fed
- Fixed another wrapper cache issue with
createCustomentity builder
- Fixed tamable entity StackOverflowError when no food predicate is set and is fed
- Fixed another wrapper cache issue with
createCustomentity builder
- Fixed crash involving non-living entity builder and failed caching
- Fixed crash involving non-living entity builder and failed caching
- Fixed crash involving non-living entity builder and failed caching
- Added missing
isAlliedToimplementation to modify builder
- Added missing
isAlliedToimplementation to modify builder
- Added missing
isAlliedToimplementation to modify builder
builder.attributes()method tocreate()&createCustom()entity_type builders
# Fixed
isMultipartEntity()method always returning true even with no `builder.addPartEntity()overrides- Dedicated server crash when using setRendererClass()` string overload
- Startup crash from duplicate unique mixin methods
.attributes(attributes => {})to living entity builders, allowing scripts to add or replace attributes during entity attribute creation- Added inherited dynamic override method suggestions so ProbeJS includes valid methods declared by parent entity classes
## Fixed
isMultipartEntity()method always returning true even with no `builder.addPartEntity()overrides- Improved ProbeJS type inference for nested classes used with createCustom()
,modify(), andJava.loadClass() - Dedicated server crash when using the new event.createCustom().setRendererClass()` method
## Added
- Added
.override(methodKey, callback)and callback controls such assuperCall(),cancel(), andsetReturnValue() - Added nonliving entity support and custom model or renderer support to
createCustom() - Added custom synced entity data support
- Added GeckoLib projectile, trident, slime, skeleton, and wolf entity builders
- Added additional entity, rendering, movement-control, collision, riding, and modification callbacks
- Added improved ProbeJS suggestions for
createCustom(),modify(),Java.loadClass(), renderer classes, and dynamic overrides
## Fixed
- Improved vanilla fallback behavior across builder and modification callbacks
- Improved synced data handling for UUID and
Vec3values - Fixed projectiles failing to save when created without an item
- Fixed dedicated-server crashes caused by client-only model and renderer APIs
- Fixed missing default movement speed and several entity-specific callbacks
- Improved ProbeJS type inference for inherited methods and nested entity classes
- Fixed dedicated server crash when using the new
event.createCustom().setRendererClass()method - Fixed isMultipartEntity() method always returning true even with no `
builder.addPartEntity()` overrides
- Fixed synced entity data client check causing variables to always be null
- Fixed synced entity data client check causing variables to always be null
- Fixed goal events not firing due to extra id not being parsed correctly
- Added
.override("someMethod()", callback)toevent.createCustom()entities, letting scripts override supported Java entity methods directly. .override()works with public and protected vanilla or modded entity methods when they are safe to override.- Added dynamic override context values like
context.entity,context.args,context.get("arg0"),context.arg0, andcontext.arg1. - Added named override arguments from Parchment mappings when available, so
customBuilder.override()callbacks can use names likecontext.partialTickswhile still keepingarg0,arg1, etc. as fallback - Added
context.superCall()for dynamic overrides, includingcontext.superCall(...args)to call the original method with replacement arguments. - Added
EntityJSUtils.superCall()for supported builder and modify callbacks where acontextobject may not be available. - Added
EntityJSUtils.getCallbackInfo()formodifyEntitycallbacks. - Added callback control helpers on supported contexts:
context.cancel(),context.setReturnValue(value),context.returnValue(), andcontext.superCall(). - Added
setRenderer(context => ...)toevent.createCustom()for custom renderer factories. - Added
setRendererClass(...)toevent.createCustom()for using an existing renderer class. - Added
setModel(context => ...)toevent.createCustom()for custom model factories. - Added support for
event.createCustom()with non-living entities. - Added support for rendering custom non-living entities with GeckoLib or existing renderer classes.
- Added
playStepSound,playMuffledStepSound, andplayCombinationStepSoundsto EntityJS entity builders. - Added
playStepSound,playMuffledStepSound, andplayCombinationStepSoundstoEntityJSEvents.modifyEntity(). - Added fallback overrides for methods often needed on final entity classes:
playSwimSound,doWaterSplashEffect,processFlappingMovement, andcanBeHitByProjectile.
### ProbeJS / Typing Improvements
- Added better ProbeJS support for
event.createCustom()builders. - Added ProbeJS suggestions for
.override()method keys. - Added typed override contexts, so
context.entitymatches the custom entity class when possible. - Added typed
setRendererClass("")string suggestions of viable renderer class strings setRendererClass("")now suggests real renderer classes that can actually load and pass EntityJS renderer checks.setRendererClass("some.class.Name")still accepts custom strings even when they are not in the suggestion list.- Improved dedicated server safety for ProbeJS typing generation so client-only renderer classes are not loaded on servers.
- Replaced
constwithletin some ProbeJS typing examples
### Changes
- Removed
setModelClass(...). Most Minecraft model classes need constructor arguments, so scripts should usesetModel(context => new MyModel(...))instead. setRendererClass(...)is now the class-based shortcut for existing render
