Enchantments
Enchantments
Section titled “Enchantments”DaisyEnchantments resolves enchantments through namespaced-key-aware parsing instead of plugin-local alias maps.
What it does
Section titled “What it does”- parses canonical enchantment keys
- accepts spaced and kebab-case input
- accepts namespaced input like
minecraft:sharpness - exposes canonical keys and clean display names
- supports a small curated alias set
DaisyEnchantments resolves real enchantment values against the live Paper registry during plugin runtime.
val enchantment = DaisyEnchantments.parse("fire aspect")val key = DaisyEnchantments.key(enchantment)val label = DaisyEnchantments.displayName(enchantment)Input examples
Section titled “Input examples”sharpnessminecraft:sharpnessfire aspectfire-aspectfire_aspect