mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
Add Thorns to DamageCause - Related to BUKKIT-3505
By: riking <rikingcoding@gmail.com>
This commit is contained in:
parent
631a8b51dc
commit
d52aad59f3
@ -188,6 +188,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
|
|||||||
* Damage: variable
|
* Damage: variable
|
||||||
*/
|
*/
|
||||||
FALLING_BLOCK,
|
FALLING_BLOCK,
|
||||||
|
/**
|
||||||
|
* Damage caused in retaliation to another attack by the Thorns enchantment.
|
||||||
|
* <p />
|
||||||
|
* Damage: 1-4 (Thorns)
|
||||||
|
*/
|
||||||
|
THORNS,
|
||||||
/**
|
/**
|
||||||
* Custom damage.
|
* Custom damage.
|
||||||
* <p />
|
* <p />
|
||||||
|
Loading…
Reference in New Issue
Block a user