mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Add Thorns to DamageCause - Related to BUKKIT-3505
This commit is contained in:
parent
97c2758abf
commit
45147986bf
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