Potion
Syntax¶
Potions are created using the pot constructor. Like all constructors in Terracotta, the values passed into the constructor are Expressions and can take full advantage of their features.
amplifier is 1-based: An amplifier of 1 means a potion effect level of I. amplifier is optional and will default to 1 if omitted.
duration is specified in ticks, meaning a duration of 20 is equal to one second. duration is optional and will default to infinite if omitted.
potion is the name of the potion that appears at the top of a potion effect's button, NOT its minecraft id.

Operations¶
txt + pot: txt¶
Stringifies the Potion then adds it onto the Styled Text.