Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 1.69 KB

FEATURES.md

File metadata and controls

37 lines (34 loc) · 1.69 KB

New features/fixes:

  • 1.20.6 + Support
  • Requires Java 17
  • Added Netherite and newer armor protection support
  • Simplified Chinese Translation by SnowCutieOwO
  • New area commands
  • Mohist compatibility (kind of, you need to use particle aiming)
  • Folia support

Hooks:

  • Vault hook to buy cannons (was there even before fork)
  • Movecraft-Cannons support is now integrated
  • PlaceholderAPI hook

Optimizations:

  • Better FlyingProjectile lookup
  • UserMessage Optimization
  • Some CannonManager Optimization
  • RNG Optimization (Original created a random number generator every time it needed to be used, now each object has its own Random)
  • Distance optimization by using Location#distanceSquared() over Location#distance when possible
  • Aiming shot simulation Optimization
  • CannonAPI#getCannon should now not create massive lag when there are a lot of designs, and is way faster (some owners stated it was up to x6 faster)
  • /cannons claim and commands executed in a radius won't deadlock your server anymore, and it is executed on a separate thread

API Changes/New Events:

  • ProjectilePiercingEvent is now cancellable
  • New CannonLinkFiringEvent to handle linked cannons operations
  • New CannonLinkAimingEvent to handle linked cannons aiming
  • You can now get more data from CannonDestroyEvent, which execute when cannons are broken too
  • New CannonPreLoadEvent
  • New CannonRenameEvent
  • New CannonGunpowderLoadEvent (gives accurate data on how much gunpowder is loaded)
  • ArmorCalculationUtil now handles internal calculations for damage, every method there is public and can be used by an addon