Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[B+C] Add and implement an EntityDespawnEvent. adds BUKKIT-5645 #1070

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

[B+C] Add and implement an EntityDespawnEvent. adds BUKKIT-5645 #1070

wants to merge 7 commits into from

Commits on Jul 8, 2014

  1. Add an EntityDespawnEvent. Fixes BUKKIT-5645

    There was not any event fired for when an entity despawns for reasons
    other than death, EG when a non-persistent entity is removed because no
    player is nearby (RemoveWhenFarAway). This commit adds a simple
    entity-despawn-event to fill this void, to be used with a matching CB
    commit that will fire this event.
    mcmonkey4eva committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    06c75be View commit details
    Browse the repository at this point in the history
  2. Clean JavaDoc formatting to match other events

    Or, at least, the majority of other events in the Entity category. It
    seems the standard is to use the word 'Called' and end with a period
    (full-stop/dot).
    mcmonkey4eva committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    e661a39 View commit details
    Browse the repository at this point in the history
  3. Add a despawn reason for the entityDespawnEvent

    A way to identify *why* the entity despawned is very useful.
    mcmonkey4eva committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    0d04471 View commit details
    Browse the repository at this point in the history
  4. Add DespawnReason.DEATH

    The entity despawned because it died
    mcmonkey4eva committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    cd1991b View commit details
    Browse the repository at this point in the history
  5. Add DespawnReason.REMOVED

    An extremely vague DespawnReason that could be caused by a variety of
    things... but it's better than just DEFAULT.
    mcmonkey4eva committed Jul 8, 2014
    Configuration menu
    Copy the full SHA
    1adee4a View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2014

  1. Configuration menu
    Copy the full SHA
    47521e0 View commit details
    Browse the repository at this point in the history
  2. Fix spacing

    mcmonkey4eva committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    c840e7e View commit details
    Browse the repository at this point in the history