SPIGOT-6200: Add COMMAND to the CreateSpawnEvent.SpawnReason enum

By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
This commit is contained in:
Bukkit/Spigot 2021-05-09 16:32:25 +10:00
parent 0b3698eb62
commit 9c9c9763ae

View File

@ -177,6 +177,10 @@ public class CreatureSpawnEvent extends EntitySpawnEvent {
* When a piglin is converted to a zombified piglib.
*/
PIGLIN_ZOMBIFIED,
/**
* When a creature is spawned by the "/summon" command
*/
COMMAND,
/**
* When a creature is spawned by plugins
*/