1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-18 11:22:15 +01:00

SPIGOT-7831: Add CreatureSpawnEvent.SpawnReason#POTION_EFFECT

By: Doc <nachito94@msn.com>
This commit is contained in:
Bukkit/Spigot 2024-07-16 19:53:03 +10:00
parent da7c1149bc
commit acb31909b0

View file

@ -205,6 +205,11 @@ public class CreatureSpawnEvent extends EntitySpawnEvent {
* When a creature is spawned by an enchantment
*/
ENCHANTMENT,
/**
* When a creature is spawned by a potion effect, for example:
* {@link org.bukkit.potion.PotionType#OOZING}, {@link org.bukkit.potion.PotionType#INFESTED}
*/
POTION_EFFECT,
/**
* When a creature is spawned by plugins
*/