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
|
getEntityType
getEventName, getHandlers, isAsynchronous
public PotionEffectEvent(LivingEntity what, PotionEffect effect)
public LivingEntity getEntity()
EntityEvent
getEntity
in class EntityEvent
public PotionEffect getEffect()
Copyright © 2022. All rights reserved.