Potions
Potions
Section titled “Potions”DaisyPotions works with PotionEffectType, not PotionType.
What it does
Section titled “What it does”- parses canonical potion-effect keys
- accepts spaced and kebab-case input
- accepts namespaced input like
minecraft:speed - exposes canonical keys and clean display names
- supports a small curated alias set
DaisyPotions resolves real PotionEffectType values against the live Paper registry during plugin runtime.
val effect = DaisyPotions.parse("slow falling")val key = DaisyPotions.key(effect)val label = DaisyPotions.displayName(effect)Input examples
Section titled “Input examples”speedminecraft:speedslow fallingslow-fallingslow_falling