PotionEffectEvent

The Potion Effect Event is an event called when a potion effect is modified on an entity.

Description
The PotionEffectEvent is a class that adds one local variable: a potion effect type for what potion effect is being modified.

Constructor
PotionEffectEvent(LivingEntity who, EnchantmentLevel enchantment, PotionEffectType type)
 * // LivingEntity who - the entity with the potion effect
 * // EnchantmentLevel enchantment - the enchantment and level information
 * // PotionEffectType type - the potion effect type being modified

Implements
None

Extends
ESEntityEvent

PotionEffectType getType
Gets the potion effect type

void setType(PotionEffectType type)
Sets the potion effect type to the specified value