addPotionEffects

public abstract boolean addPotionEffects(Collection<PotionEffect> effects)

Attempts to add all of the given PotionEffect to the living entity.

Return

whether all of the effects could be added

Parameters

effects

the effects to add