[CI-SKIP] Improve documentation of PreCreatureSpawnEvent (#5244)

This commit is contained in:
Aurora 2021-03-07 11:35:45 +01:00
parent b40aeccfc2
commit 1ff89d3d71

View file

@ -35,7 +35,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ * WARNING: This event only fires for a limited number of cases, and not for every case that CreatureSpawnEvent does.
+ *
+ * You should still listen to CreatureSpawnEvent as a backup, and only use this event as an "enhancement".
+ * The intent of this event is to improve server performance, so limited use cases.
+ * The intent of this event is to improve server performance, so it fires even if the spawning might fail later, for
+ * example when the entity would be unable to spawn due to limited space or lighting.
+ *
+ * Currently: NATURAL and SPAWNER based reasons. Please submit a Pull Request for future additions.
+ * Also, Plugins that replace Entity Registrations with their own custom entities might not fire this event.