Added
- Introduced the
EntityJSEvents.modifyEntity()
event, enabling method overrides for entities derived fromPathfinderMob
,Mob
,LivingEntity
, andEntity
. (see new wiki page for examples)
- Changed context from ThrownItemProjectile to Projectile in
ProjectileBlockHitContext
&ProjectileEntityHitContext
to allow addon mods usage of the onHitEntity & onHitBlock methods
Fixed Issues
- Fixed issue with Corail Tombstone incompatibility when
mobtype
is null on spawn. - Fixed
onRemovedFromWorld
not firing due to superclass method being called before consumer.
- Fixed Corail Tombstone compatibility issue with mobType being null on spawn
- Fixed default goals not being added when defaultGoal is true in vanilla builders
- Fixed attribute modification not firing if no custom entities are created
- Added MobMixin to the Mob class giving access to the protected
targetSelector
andgoalSelector
methods
- Ported from version 0.1.8 forge
- Removed biome spawn control methods as they relied on forge events. (will add them back in the future through Architectury)
- Ported from version 0.1.9 forge
- Removed biome spawn control methods as they relied on forge events. (will add them back in the future through Architectury)
- Added .positionRider() method to all builders
- Added "minecraft:arrows" tag by default to arrow builder
- Added Piglin & Wither Builders
- Fixed onEntityCollision consumer being null in Projectile builder
- Added Piglin & Wither Builders
- Fixed onEntityCollision consumer being null in Projectile builder
- Fixed broken isMoving() method in Arrow Entity