Add SpawnReason.DROWNED

By: klugemonkey <klugemonkey@spawnchunk.com>
This commit is contained in:
Bukkit/Spigot 2018-07-26 04:34:43 -07:00
parent d1a29e349c
commit 6da91b6b3c

View file

@ -170,6 +170,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
* perched on jumping or being damaged * perched on jumping or being damaged
*/ */
SHOULDER_ENTITY, SHOULDER_ENTITY,
/**
* When a creature is spawned by another entity drowning
*/
DROWNED,
/** /**
* When a creature is spawned by plugins * When a creature is spawned by plugins
*/ */