mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +01:00
SPIGOT-3102: Add EXPLOSION SpawnReason
By: md_5 <git@md-5.net>
This commit is contained in:
parent
29b0bdf48b
commit
e6915a8c4e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue