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:
parent
da7c1149bc
commit
acb31909b0
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue