Interface ServerMobEffectEvents.AfterAdd
- 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 TypeMethodDescriptionvoidafterAdd(net.minecraft.world.effect.MobEffectInstance effectInstance, net.minecraft.world.entity.LivingEntity entity, EffectEventContext ctx) Called after an effect is added.
-
Method Details
-
afterAdd
void afterAdd(net.minecraft.world.effect.MobEffectInstance effectInstance, net.minecraft.world.entity.LivingEntity entity, EffectEventContext ctx) Called after an effect is added.- Parameters:
effectInstance- the instance of the added status effectentity- the entity on which the effect has been addedctx- context
-