Interface ServerMobEffectEvents.BeforeRemove
- Enclosing class:
ServerMobEffectEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeRemove(net.minecraft.world.effect.MobEffectInstance effectInstance, net.minecraft.world.entity.LivingEntity entity, EffectEventContext ctx) Called before an effect is removed.
-
Method Details
-
beforeRemove
void beforeRemove(net.minecraft.world.effect.MobEffectInstance effectInstance, net.minecraft.world.entity.LivingEntity entity, EffectEventContext ctx) Called before an effect is removed.- Parameters:
effectInstance- the instance of the status effect being removedentity- the entity on which the effect is being removedctx- context
-