Interface ServerMobEffectEvents.AfterRemove

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.

@FunctionalInterface public static interface ServerMobEffectEvents.AfterRemove
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterRemove(net.minecraft.world.effect.MobEffectInstance effectInstance, net.minecraft.world.entity.LivingEntity entity, EffectEventContext ctx)
    Called after an effect is removed.
  • Method Details

    • afterRemove

      void afterRemove(net.minecraft.world.effect.MobEffectInstance effectInstance, net.minecraft.world.entity.LivingEntity entity, EffectEventContext ctx)
      Called after an effect is removed.
      Parameters:
      effectInstance - the instance of the removed status effect
      entity - the entity from which the effect has been removed
      ctx - context