From c502bcdc9946aeb343a9908379066d442f46a37b Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 14 Jan 2022 10:56:03 +1100 Subject: [PATCH] SPIGOT-6888: Add SpawnReason for Vex spawned by Evokers By: Doc --- .../main/java/org/bukkit/event/entity/CreatureSpawnEvent.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java index cb0d91c0e2..1bb28043b9 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java @@ -177,6 +177,10 @@ public class CreatureSpawnEvent extends EntitySpawnEvent { * When a piglin is converted to a zombified piglib. */ PIGLIN_ZOMBIFIED, + /** + * When an entity is created by a cast spell. + */ + SPELL, /** * When an entity is shaking in Powder Snow and a new entity spawns. */