- Fixed crash when disabling goals for custom Bee entities
- Added
getEntityBuilder
to EntityJSUtils binding class
- Fixed crash when disabling goals for custom Bee entities
- Added
getEntityBuilder
to EntityJSUtils binding class - Added
.attributes()
method to BaseLivingEntityBuilder giving access to entity modification event from custom entity builders - Fixed Attribute Modification Event not working for custom entities
- Fixed bug where getType() is not found due to class obfuscations when summoning EntityJS entities with an egg item
-
Added
setFacesTrajectory
to theProjectileAnimatableJSBuilder
to add implementation forgeckolib_projectile
determining if the projectile's model visually faces the direction it's currently headed in -
Moved some client logic to client side only classes to avoid errors on dedicated servers when modifying certain entity methods.
- Fixed missing collar implementation to WolfEntityJS
- Fixed GeoLayerJS rendering logic not working when builder.render was called
- Fixed entity modification
canAttack
callback resulting in NullPointerException crash
- Fixed missing collar implementation to WolfEntityJS
- Fixed GeoLayerJS rendering logic not working when builder.render was called
- Fixed entity modification
canAttack
callback resulting in NullPointerException crash - Added client/server synced data methods via
.defineSyncedData
entity modification method.
Example:
builder.defineSyncedData(entity => {
entity.addSyncedData("string", "Variant", "blue")
})
- Added
getSyncedData
to LivingEntities to grab the aforementioned synced data.
Example:
entity.getSyncedData("Variant")
- Fixed missing collar implementation to WolfEntityJS
- Fixed GeoLayerJS rendering logic not working when builder.render was called
- Fixed entity modification
canAttack
callback resulting in NullPointerException crash
- Added missing arguments to CustomInstructionKeyframeEventJS,ParticleKeyFrameEventJS & SoundKeyFrameEventJS including
entity
,animationTick
,controller
&keyframeData
- Added getCurrentAnimationTick() to Geckolib AnimationController giving the current tick the playing animation is at.
- Made
setCanShootFromDispenser()
in projectile builders return the builder instead of void allowing for proper builder method chaining
- Added missing arguments to CustomInstructionKeyframeEventJS,ParticleKeyFrameEventJS & SoundKeyFrameEventJS including
entity
,animationTick
,controller
&keyframeData
- Added getCurrentAnimationTick() to Geckolib AnimationController giving the current tick the playing animation is at.
- Made
setCanShootFromDispenser()
in projectile builders return the builder instead of void allowing for proper builder method chaining
- Added missing arguments to CustomInstructionKeyframeEventJS,ParticleKeyFrameEventJS & SoundKeyFrameEventJS including
entity
,animationTick
,controller
&keyframeData
- Added getCurrentAnimationTick() to Geckolib AnimationController giving the current tick the playing animation is at.
- Made
setCanShootFromDispenser()
in projectile builders return the builder instead of void allowing for proper builder method chaining
- Added missing arguments to CustomInstructionKeyframeEventJS,ParticleKeyFrameEventJS & SoundKeyFrameEventJS including
entity
,animationTick
,controller
&keyframeData
- Added getCurrentAnimationTick() to Geckolib AnimationController giving the current tick the playing animation is at.
- Added
isMoving()
boolean to Entity universally
- Fixed entity attributes not registering on client in a server environment
Added
ArrowEntityJS
: MadegetPickupItem
method accessible.Entity
Classes: AddedisMoving()
boolean method to allEntity
classes.- Projectile Entities: Added optional dispenser behavior to the following classes:
TridentEntityJS
ProjectileEntityJS
ProjectileAnimatableJS
ArrowEntityJS
Improved
ArrowEntityJS
: Properly implementedknockBack
logic to ensure additional knockback only applies whenknockBack
is greater than 1.
Removed
- Removed some shadowed fields in
ArrowEntityJS
to prevent potential conflicts.