- Fixed server crash from using
newGeoLayer&newGlowingGeoLayeron a dedicated server - Scripters can now directly input a UUID while setting entity synced data with
entity.setSyncedData()instead of needing to wrap in an Optional - Fixed crash from UUID being cast to Optional<UUID> when saving 'uuid' synced data
- Fixed summoning error with BetterTrims mod
- Fixed entity attribute event not working on custom mobs
- Fixed another server-side issue where in some cases custom entity attribute builders are null on the client
Memory Leak Fix
- Prevent modification builder map from holding onto level in memory
- Fixed entity attributes being null on the client side while on a dedicated server
- Fixed a "casting to T" error when creating new move control/look control in entities
- Updated to KubeJS 7.2 ( Future EntityJS versions will still be backwards compatible with KubeJS 7.1 and below )
- Greatly optimized modify builder initialization to only fire once upon base Entity init
- Changed
createCustommethod adding a 3rd parameter giving direct access to the respective entity's modification event. This also avoids weird Rhino ambiguity issues with the KubeJS defaultcreateCustommethod. Reference the updated wiki page for the example of the revision
- Greatly optimized modify builder initialization to only fire once upon base Entity init
- Changed
createCustommethod adding a 3rd parameter giving direct access to the respective entity's modification event. This also avoids weird Rhino ambiguity issues with the KubeJS defaultcreateCustommethod. Reference the updated wiki page for the example of the revision - Moved some synced entity data logic to existing
onAddedToLevelmethod
- Added
defineSyncedData()to ModifyEntityBuilder allowing for auto client/server synced data on entities - Added
entity.addSyncedData(),entity.setSyncedData()&entity.getSyncedDatato Entity class - Added most vanilla entity geo models in kubejs assets namespace
- Added
addRenderItemLayermethod to living entity builders giving scripters the choice to render hand items on their models - Added
addArmorItemLayermethod to living entity builders allowing for armor rendering capabilities - Modified sasuke.geo.json to handle armor/hand held items
- Added the GeoRenderer to all living entity render callbacks as an extra available field
- Fixed
addGoalsevent inputting the wrong event handler in entities
-
Living Entity Builder Improvements
- Added
canRideoption - Added
renderFinalmethod - Added
applyRotationsmethod - Added
setNavigation()method - Added
setMoveControl()method
- Added
-
Goals
- Added
NearestAttackableTargetGoalJSwith support for custom AABB
- Added
-
Synced Data
Vector3synced data now optionally acceptsVec3instances
- Fixed entity crash with
canAttack()modifyEntity builder method

