mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
Added suffocation damage as an event.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
a5351d75bb
commit
da6afe3866
@ -93,6 +93,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
|
|||||||
*
|
*
|
||||||
* Damage: fall height - 3.0
|
* Damage: fall height - 3.0
|
||||||
*/
|
*/
|
||||||
|
SUFFOCATION,
|
||||||
|
/**
|
||||||
|
* Damage caused by being put in a block
|
||||||
|
*
|
||||||
|
* Damage: 1
|
||||||
|
*/
|
||||||
FALL,
|
FALL,
|
||||||
/**
|
/**
|
||||||
* Damage caused by direct exposure to fire
|
* Damage caused by direct exposure to fire
|
||||||
|
Loading…
Reference in New Issue
Block a user