mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-14 19:42:20 +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
|
* Damage: 1000
|
||||||
*/
|
*/
|
||||||
SUICIDE,
|
SUICIDE,
|
||||||
|
/**
|
||||||
|
* Damage caused by starving due to having an empty hunger bar
|
||||||
|
*
|
||||||
|
* Damage: 1
|
||||||
|
*/
|
||||||
|
STARVATION,
|
||||||
/**
|
/**
|
||||||
* Custom damage.
|
* Custom damage.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user