[SPIGOT-6888] Add SpawnReason for evoker's vexes Created: 05/Jan/22  Updated: 13/Jan/22  Resolved: 13/Jan/22

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Zhenya Zima Assignee: Doc
Resolution: Fixed Votes: 0
Labels: None

Version: 1.18.1
Guidelines Read: Yes

 Description   

Currently, if evoker spawns some vexes during the raid, CreatureSpawnEvent#getSpawnReason is SpawnReason.DEFAULT, and it's used "when an entity is missing a SpawnReason" (according to javadoc).

I think that vexes in that case should have their own SpawnReason for convenience. Thanks!



 Comments   
Comment by Doc [ 05/Jan/22 ]

Created PR for the missing spawnreason.

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/711/overview

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/991/overview

Generated at Sun Mar 30 02:36:46 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.