mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
[CI-SKIP] Improve documentation of PreCreatureSpawnEvent (#5244)
This commit is contained in:
parent
b40aeccfc2
commit
1ff89d3d71
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue