-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
1.18.1
-
Yes
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!
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