mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
SPIGOT-6200: Add COMMAND to the CreateSpawnEvent.SpawnReason enum
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
This commit is contained in:
@@ -177,6 +177,10 @@ public class CreatureSpawnEvent extends EntitySpawnEvent {
|
|||||||
* When a piglin is converted to a zombified piglib.
|
* When a piglin is converted to a zombified piglib.
|
||||||
*/
|
*/
|
||||||
PIGLIN_ZOMBIFIED,
|
PIGLIN_ZOMBIFIED,
|
||||||
|
/**
|
||||||
|
* When a creature is spawned by the "/summon" command
|
||||||
|
*/
|
||||||
|
COMMAND,
|
||||||
/**
|
/**
|
||||||
* When a creature is spawned by plugins
|
* When a creature is spawned by plugins
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user