mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
SPIGOT-6200: Add COMMAND to the CreateSpawnEvent.SpawnReason enum
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
This commit is contained in:
parent
0b3698eb62
commit
9c9c9763ae
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user