mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Add Thorns to DamageCause - Related to BUKKIT-3505
By: riking <rikingcoding@gmail.com>
This commit is contained in:
@@ -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 />
|
||||
|
Reference in New Issue
Block a user