Skip to content

Enchantment API

Reference

DaisyEnchantments handles canonical keys and curated aliases while staying explicit about registry-sensitive runtime behavior.

parse enum

Parses an enchantment from canonical or alias-driven input.

Required

Returns null when an enchantment key cannot be resolved.

Optional

key string

Returns the canonical enchantment key.

Required

Returns the user-facing enchantment label.

Required

aliases object

Returns curated shorthand aliases such as ff or prot where supported.

Optional