EntityJS

EntityJS

Mod

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

Client and server LibraryManagement MobsUtility

82.7k downloads
25 followers
Follow Save
Filter loader...
Filter versions...
  • 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
  • Added renderType() & setRenderType() to non living model layer builders for custom render type implementation
  • Added shouldRenderAtSqrDistance to all living entity builders
  • Added setRenderType & renderType functions to the newGeoLayer & newGlowingGeoLayer builders
  • The modifyEntity event is now only posted during the rendertype event if the registered JS event handler actually defines setTextureLocation or setRenderType
  • Added canBeCollidedWith to all living & nonliving entity builders
  • Removed old MobBuilder class
  • Made facesTrajectory method available to all Non-Living entities instead of just animatable projectiles.
  • Moved facesTrajectory render implementation to the entity's render method from the scaleModelForRender method to be a post-render effect
  • Added newGeoLayer & newGlowingGeoLayer to Non-Living entities instead of just living entities
  • Added EntityJSEvents.createAttributes event to add new attributes to an entity
  • Removed some accidental comments from a few probejs typings
  • Made base non-living entity facesTrajectory field default to false while projectiles default to true
  • Fixed casting error when modifying createCustomentities

Project members

Notenoughmail

Member

Liopyu

Member

Details

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