# IScriptEntity.applyPotion [← IScriptEntity](index.md) · [← Master](../../wiki.md) applyPotion(Potion potion, int duration, int amplifier, boolean particles) void Apply given potion effect on the entity for given duration, with given amplifier, and optionally with particles.