Interface LivingEntityEvent.StatusEffectAdded
- Enclosing interface:
LivingEntityEvent
public static interface LivingEntityEvent.StatusEffectAdded
-
Method Summary
-
Method Details
-
invoke
void invoke(net.minecraft.entity.LivingEntity entity, net.minecraft.entity.effect.StatusEffectInstance effect, @Nullable @Nullable net.minecraft.entity.Entity source) - Parameters:
entity
- TheLivingEntity
that received the effect.effect
- TheStatusEffectInstance
.source
- An optionalEntity
that was the cause of the effect.
-