Skip to content

DamageEntityPostEvent #2374

Open
Open

Description

@Lucavon

Hello!

We currently don't have a DamageEntityPostEvent, making it very difficult to react to damage after it happens. For example, if you were to apply a piece of armor to someone using the DamageEntityEvent, the armor would be factored into the calculation and take damage, too. For this reason, we need a DamageEntityPostEvent. Here's a list of attributes it would need to have:

  • Damaged entity
  • Original damage before anything was changed
  • Base Damage
  • Final damage
  • Whether a modifier was applicable (basically isApplicable())
  • List of modifiers
  • Whether it caused death
  • Damage source

If I forgot any attributes, feel free to add them!

Activity

  1. added
    status: needs triageThis label is automatically applied to new issues and pull requests to indicate they require triage
    on Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageThis label is automatically applied to new issues and pull requests to indicate they require triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions