Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.1
1.19.2
Platforms
Supported environments
Client and server
Tags
Creators
Details
Licensed GPL-3.0-only
Published 2 years ago
Changelog
Enhanced
- Enhanced
addGoalSelectorsandaddGoalsevents, now capable of modifying all Mob entities. - Enhanced
buildBrain()andbuildBrainProvider()events, which can now modify any entity brain, provided these entities do not override thebrainProvider/getBrainmethods in their subclasses.
Added
- Introduced
.removeGoal(),.removeGoals(), and.removeAllGoals()methods to bothaddGoalSelectorsandaddGoalsevents, 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 fromPathfinderMob,Mob,LivingEntity, andEntity. (Refer to the new wiki page for examples)
Fixed
- Fixed an issue where
getStandingEyeHeight()was returning null. - Relocated the goal event in the
MobMixinentity initialization method to theEntityMixinonAddedToWorld()method to ensure values register properly.
Files
entityjs-0.2.2-1.19.2-fabric.jar(1.84 MiB) Primary
Metadata
Release channel
ReleaseVersion number
0.2.2-1.19.2-fabricLoaders
Fabric
Game versions
1.19.2Environment
Client and server, required on both




