- 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")
- 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
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.