# IScriptFactory.getPotion [← IScriptFactory](index.md) · [← Master](../../wiki.md) getPotion(java.lang.String type) Potion Get Minecraft potion effect by its name.