13
0
geforkt von Mirrors/Paper

SPIGOT-7831: Add CreatureSpawnEvent.SpawnReason#POTION_EFFECT

By: Doc <nachito94@msn.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2024-07-16 19:53:03 +10:00
Ursprung da7c1149bc
Commit acb31909b0

Datei anzeigen

@ -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
*/