Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions #FIX-ISSUE-10280.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
SPIGOT-10280: Implement EntityRemoveFromWorldEvent for enhanced entity removal tracking
Pull Request Message Expectations
This PR introduces the EntityRemoveFromWorldEvent class, designed to handle entity removal events within the Bukkit API, providing enhanced tracking and flexibility.

Summary of Changes:
Added EntityRemoveFromWorldEvent class for monitoring entity removal.
Defined an enum Cause representing various reasons for entity removal, including:
DEATH
DESPAWN
DROP
ENTER_BLOCK
EXPLODE
HIT
MERGE
OUT_OF_WORLD
PICKUP
PLUGIN
TRANSFORMATION
UNLOAD
OTHER
Included an inner EntityRemoveEvent class to handle entity removal actions with a trigger method.
Added an EntityRemoveListener class for event handling.
Implemented an EntityManager class to manage and remove entities, dispatching removal events.
Submitting the Changes
Push your changes to a topic branch in your fork of the repository.
Submit a pull request to the relevant repository in the Spigot organization.
Make sure your pull request meets our code requirements.
If you are fixing a JIRA ticket, be sure to update the ticket with a link to the pull request.
All bug fixes must be accompanied by a JIRA ticket.
Ensure all changes (including in patches) have our Minimal Diff Policy in mind.
2 changes: 1 addition & 1 deletion work/Bukkit
Submodule Bukkit updated from 1fc102 to f7ba41