geforkt von Mirrors/Paper
SPIGOT-7831: Add CreatureSpawnEvent.SpawnReason#POTION_EFFECT
By: Doc <nachito94@msn.com>
Dieser Commit ist enthalten in:
Ursprung
da7c1149bc
Commit
acb31909b0
@ -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
|
||||
*/
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren