create Effect
Creates getClassById PotionEffect from the given PotionEffectType, applying duration modifiers and checks.
Return
The resulting potion effect
Parameters
potion
The type of potion
duration
The duration in ticks
amplifier
The amplifier of the effect