[SPIGOT-4187] Custom EntityDamageByEntityEvent (curr. Deprecated) Created: 29/Jul/18  Updated: 29/Jul/18  Resolved: 29/Jul/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Alex Kingston Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.13, EntityDamageByEntityEvent, custom, spigot

Version: git-Spigot-69774b3-3b8f5be
Guidelines Read: Yes

 Description   

There is currently no way to create a custom EntityDamageByEntityEvent due to the fact that *EntityDamageByEntityEvent​(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, double damage)* is deprecated and *EntityDamageByEntityEvent​(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, java.util.Map<EntityDamageEvent.DamageModifier,java.lang.Double> modifiers, java.util.Map<EntityDamageEvent.DamageModifier,? extends com.google.common.base.Function<? super java.lang.Double,java.lang.Double>> modifierFunctions)* is using EntityDamageEvent.DamageModifier which is also deprecated.

I was not sure if I should flag this as bug or feature suggestion...?
Thanks for considering.


Generated at Tue Apr 15 09:25:31 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.