EntityJS

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

File Details

entityjs-0.2.2-1.19.2-fabric.jar

  • R
  • Jul 13, 2024
  • 1.84 MB
  • 51
  • 1.19.2
  • Fabric

File Name

entityjs-0.2.2-1.19.2-fabric.jar

Supported Versions

  • 1.19.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:entityjs-967617:5528847"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Enhanced

  • Enhanced addGoalSelectors and addGoals events, now capable of modifying all Mob entities.
  • Enhanced buildBrain() and buildBrainProvider() events, which can now modify any entity brain, provided these entities do not override the brainProvider/getBrain methods in their subclasses.

Added

  • Introduced .removeGoal(), .removeGoals(), and .removeAllGoals() methods to both addGoalSelectors and addGoals events, enabling the removal of existing goals.
  • Introduced getEntity() method to all goal events, granting access to the mob instance involved in the event.
  • Introduced the EntityJSEvents.modifyEntity() event, enabling method overrides for entities derived from PathfinderMob, Mob, LivingEntity, and Entity. (Refer to the new wiki page for examples)

Fixed

  • Fixed an issue where getStandingEyeHeight() was returning null.
  • Relocated the goal event in the MobMixin entity initialization method to the EntityMixin onAddedToWorld() method to ensure values register properly.