Added RegainReason.SATIATED.
This reason is used when a player regains health from generating due to their hunger being satisfied.
This commit is contained in:
parent
abd8cf7bef
commit
f700e32e38
@ -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…
x
Reference in New Issue
Block a user