getBaseOriginPotions

fun getBaseOriginPotions(player: TerixPlayer, state: State?): Sequence<PotionEffectType>

If state is not null, then returns all potions, which are from the state. Otherwise, returns all potions that are origin related.

Return

A sequence of the potion effects type.

Parameters

player

The player to get the potions from.

state

The state to get the potions from or null.