SPIGOT-3102: Add EXPLOSION SpawnReason

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-07-03 11:10:24 +10:00
parent 29b0bdf48b
commit e6915a8c4e

View file

@ -157,6 +157,10 @@ public class CreatureSpawnEvent extends EntitySpawnEvent {
* When an cow is spawned by shearing a mushroom cow
*/
SHEARED,
/**
* When eg an effect cloud is spawned as a result of a creeper exploding
*/
EXPLOSION,
/**
* When a creature is spawned by plugins
*/