public abstract class PotionEffectEvent extends EntityEvent
Event.Result| Constructor and Description |
|---|
PotionEffectEvent(LivingEntity what,
PotionEffect effect) |
| Modifier and Type | Method and Description |
|---|---|
PotionEffect |
getEffect() |
LivingEntity |
getEntity()
Returns the Entity involved in this event
|
getEntityTypegetEventName, getHandlers, isAsynchronouspublic PotionEffectEvent(LivingEntity what, PotionEffect effect)
public LivingEntity getEntity()
EntityEventgetEntity in class EntityEventpublic PotionEffect getEffect()
Copyright © 2022. All rights reserved.