public class MCPotionEffectRemoveEvent extends MCPotionEffectEvent implements crafttweaker.api.event.PotionEffectRemoveEvent
| Constructor and Description |
|---|
MCPotionEffectRemoveEvent(net.minecraftforge.event.entity.living.PotionEvent.PotionRemoveEvent event) |
| Modifier and Type | Method and Description |
|---|---|
crafttweaker.api.potions.IPotion |
getPotion() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
getEntityLivingBase, getPotionEffectpublic MCPotionEffectRemoveEvent(net.minecraftforge.event.entity.living.PotionEvent.PotionRemoveEvent event)
public boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelablepublic crafttweaker.api.potions.IPotion getPotion()
getPotion in interface crafttweaker.api.event.PotionEffectRemoveEvent