Migration
Migration
Section titled “Migration”Use DaisySeries to replace:
Material.valueOf(...)wrappers- hand-written alias maps
- repeated lowercase serialization
- one-off friendly-name helpers
- XSeries-style glue in modern Paper-only plugins
Typical replacements
Section titled “Typical replacements”val material = DaisyMaterials.parse(config.icon)val key = DaisyMaterials.key(material)val label = DaisyMaterials.displayName(material)Adopt incrementally
Section titled “Adopt incrementally”You do not need the whole suite to adopt DaisySeries.
Start by replacing the ugliest local helper maps first:
- materials and sounds
- flags and effects
- biome, profession, attribute, difficulty, block-face, damage-cause, operation, pattern-type, particle, or statistic parsing where configs are already carrying user-friendly strings
Then standardize serialization on key(...).
Add DaisyConfig later only when those values should live in typed YAML.
Add DaisyCore later only when those parsed values should feed runtime systems.