Skip to content

Releases

v0.5.5 Norbit Event System

Choose a tag to compare

@crosby-moe crosby-moe released this 03 Dec 16:09
v0.5.5-norbit

norbit

v0.5.4 SSID Alt Switcher

Choose a tag to compare

@crosby-moe crosby-moe released this 11 Sep 00:17
Merge remote-tracking branch 'upstream/master'

v0.5.4 Damage Utils Refactor Test

Pre-release

Choose a tag to compare

@crosby-moe crosby-moe released this 18 Sep 03:26

Made damage calculations faster, with better precision

Performance Improvements

  • Simplified explosion raycasts; Less laggy Crystal Aura, Anchor Aura, Bed Aura, Step w/ safestep', AutoTotem smart mode, & Offhand
  • Removed duplicate operations in Anchor Aura, Step w/ safestep, AutoTotem smart mode, & Offhand

Precision Improvements

  • All damage calculations now take into account armor toughness
  • Attack damage calculation now works with any weapon, modded ones included
  • Attack damage calculation now supports attack damage increasing/decreasing modded armors
  • Attack damage calculation now properly calculates attack charge & critical hits
  • Attack damage calculation now properly calculates mob damage difficulty modifiers
  • Bed damage calculation now properly calculates armor damage reductions

For developers

  • DamageEvent#amount: Deprecated, for removal
  • DamageUtils#getSwordDamage(PlayerEntity, boolean): Deprecated, for removal, use DamageUtils#getAttackDamage(LivingEntity, LivingEntity) instead
  • EntityAttributeManager: New util class to use instead of LivingEntity#getAttributeInstance(EntityAttribute), LivingEntity#getAttributeValue(EntityAttribute), & LivingEntity#getAttributes()

Testing

I was too lazy to test all of this myself !!

Things to test:

  • Crystal Aura
  • Anchor Aura
  • Bed Aura
  • Step (safestep setting)
  • AutoTotem (smart mode)
  • Offhand