public class PotionEffectEvent
extends cpw.mods.fml.common.eventhandler.Event
| Modifier and Type | Class and Description |
|---|---|
static class |
PotionEffectEvent.PotionEffectChangeEvent |
static class |
PotionEffectEvent.PotionEffectFinishEvent |
static class |
PotionEffectEvent.PotionEffectStartEvent |
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.entity.EntityLivingBase |
entity
The entity with the potion effect.
|
net.minecraft.potion.PotionEffect |
potion
The potion effect getting used.
|
| Constructor and Description |
|---|
PotionEffectEvent(net.minecraft.potion.PotionEffect potion,
net.minecraft.entity.EntityLivingBase entity)
Constructs a new PotionEffectEvent.
|
public final net.minecraft.potion.PotionEffect potion
public final net.minecraft.entity.EntityLivingBase entity
public PotionEffectEvent(net.minecraft.potion.PotionEffect potion,
net.minecraft.entity.EntityLivingBase entity)
potion: - The potion effect getting used.entity: - The entity with the potion effect.