mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-12 10:31:37 +01:00
Added DamageCause.STARVATION.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
a3e8ec7d78
commit
a9cffeb33d
@ -149,6 +149,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
|
||||
* Damage: 1000
|
||||
*/
|
||||
SUICIDE,
|
||||
/**
|
||||
* Damage caused by starving due to having an empty hunger bar
|
||||
*
|
||||
* Damage: 1
|
||||
*/
|
||||
STARVATION,
|
||||
/**
|
||||
* Custom damage.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user