mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
Added RegainReason.SATIATED.
This reason is used when a player regains health from generating due to their hunger being satisfied. By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
547ab9f1be
commit
6c051c6e18
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ public class EntityRegainHealthEvent extends EntityEvent implements Cancellable
|
||||||
* When a player regains health from regenerating due to Peaceful mode (difficulty=0)
|
* When a player regains health from regenerating due to Peaceful mode (difficulty=0)
|
||||||
*/
|
*/
|
||||||
REGEN,
|
REGEN,
|
||||||
|
/**
|
||||||
|
* When a player regains health from regenerating due to their hunger being satisfied
|
||||||
|
*/
|
||||||
|
SATIATED,
|
||||||
/**
|
/**
|
||||||
* When a player regains health from eating consumables
|
* When a player regains health from eating consumables
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue