Do you mean, how to make a potion to never end? Like infinite?
data/actions/scripts/liquids/potions.lua
local config = {
removeOnUse = "no",
usableOnTarget = "yes", -- can be used on target? (fe. healing friend)
splashable = "no",
realAnimation = "no", -- make text effect...