Skip to content
Success

Changes

Summary

  1. Cleanup projectile events (#2426) (commit: 7841434) (details)
Commit 784143436008e240390842fb44b922735d8b69fe by noreply
Cleanup projectile events (#2426)

* Initial work on `ProjectileHitScriptEvent`

* Deprecate `ProjectileCollideScriptEvent`

* Finish meta docs

* Remove old versions

* Only deprecated on 1.19+

* Cleanup `couldMatch`, check for edge cases

* Add version note to deprecation notice

* Cleanup deprecation messages

* Fixes from review

* Add note to `collides` event deprecation
(commit: 7841434)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/ScriptEventRegistry.java (diff)
The file was addedplugin/src/main/java/com/denizenscript/denizen/events/entity/ProjectileHitScriptEvent.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java (diff)
The file was removedplugin/src/main/java/com/denizenscript/denizen/events/entity/ProjectileHitsBlockScriptEvent.java
The file was removedplugin/src/main/java/com/denizenscript/denizen/events/entity/ProjectileHitsEntityScriptEvent.java
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/ProjectileCollideScriptEvent.java (diff)