13
0
geforkt von Mirrors/Paper

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

By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2021-05-09 16:32:25 +10:00
Ursprung 0b3698eb62
Commit 9c9c9763ae

Datei anzeigen

@ -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
*/