mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 16:56:31 +01:00
Add Thorns to DamageCause - Related to BUKKIT-3505
By: riking <rikingcoding@gmail.com>
This commit is contained in:
parent
631a8b51dc
commit
d52aad59f3
1 changed files with 6 additions and 0 deletions
|
@ -188,6 +188,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
|
|||
* Damage: variable
|
||||
*/
|
||||
FALLING_BLOCK,
|
||||
/**
|
||||
* Damage caused in retaliation to another attack by the Thorns enchantment.
|
||||
* <p />
|
||||
* Damage: 1-4 (Thorns)
|
||||
*/
|
||||
THORNS,
|
||||
/**
|
||||
* Custom damage.
|
||||
* <p />
|
||||
|
|
Loading…
Add table
Reference in a new issue