Skip to content

Remove @Deprecated(forRemoval = true) from org.bukkit.event.entity.EntityKnockbackEvent  #10414

@Ynverxe

Description

@Ynverxe

Is your feature request related to a problem?

Actually Paper API has two events that are called when an entity is pushed or receives knockback from another entity.
This is good because EntityKnockbackByEntity of spigot doesn't allow non living entities. So I think that may be the reason why this event is marked as deprecated, it's just my idea.

EntityKnockbackEvent is very usefull to handle explosion that doesn't have a source, like an explosion by a Respawn Anchor or artificial explosions created by World#createExplosion.

The deprecation on EntityKnockbackEvent was introduced in this commit: f172155

Describe the solution you'd like.

Just remove the @deprecated annotation.

Describe alternatives you've considered.

No other.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureRequest for a new Feature.
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions