EntityJS

EntityJS

Mod

This mod uses KubeJS to dynamically register entities with full AI/Animation/Spawn Control support!

Client and server LibraryManagement MobsUtility

161.2k downloads
27 followers
Follow Save
Filter loader...
Filter versions...
  • Fixed server crash from using newGeoLayer & newGlowingGeoLayer on 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 createCustom method adding a 3rd parameter giving direct access to the respective entity's modification event. This also avoids weird Rhino ambiguity issues with the KubeJS default createCustom method. 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 createCustom method adding a 3rd parameter giving direct access to the respective entity's modification event. This also avoids weird Rhino ambiguity issues with the KubeJS default createCustom method. Reference the updated wiki page for the example of the revision
  • Moved some synced entity data logic to existing onAddedToLevel method
  • Added defineSyncedData() to ModifyEntityBuilder allowing for auto client/server synced data on entities
  • Added entity.addSyncedData(), entity.setSyncedData() & entity.getSyncedData to Entity class
  • Added most vanilla entity geo models in kubejs assets namespace
  • Added addRenderItemLayer method to living entity builders giving scripters the choice to render hand items on their models
  • Added addArmorItemLayer method 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 addGoals event inputting the wrong event handler in entities
  • Living Entity Builder Improvements

    • Added canRide option
    • Added renderFinal method
    • Added applyRotations method
    • Added setNavigation() method
    • Added setMoveControl() method
  • Goals

    • Added NearestAttackableTargetGoalJS with support for custom AABB
  • Synced Data

    • Vector3 synced data now optionally accepts Vec3 instances
  • Fixed entity crash with canAttack() modifyEntity builder method

Project members

Notenoughmail

Member

Liopyu

Member

Details

Licensed GPL-3.0-only
Published 2 years ago
Updated 6 days ago