Villager Professions Dictionary
Villager Professions Dictionary
Section titled “Villager Professions Dictionary”Use these values for villager-role settings, NPC defaults, and config-backed profession selection.
Canonical key rules
Section titled “Canonical key rules”- Canonical keys are lowercase profession names like
toolsmithandweaponsmith. - Spacing helpers like
tool smithnormalize to the canonical DaisySeries key. - Legacy names like
blacksmithare intentionally not part of the parser contract.
Quick config example
Section titled “Quick config example”profession: armorerQuick usage example
Section titled “Quick usage example”val value = DaisyVillagerProfessions.parse(config.profession)val key = DaisyVillagerProfessions.key(value)val label = DaisyVillagerProfessions.displayName(value)
val typed = required("profession", villagerProfessionCodec())Reference values
Section titled “Reference values”| Canonical key | Display name | Accepted aliases |
|---|---|---|
armorer | Armorer | - |
butcher | Butcher | - |
cartographer | Cartographer | - |
cleric | Cleric | - |
farmer | Farmer | - |
fisherman | Fisherman | - |
fletcher | Fletcher | - |
leatherworker | Leatherworker | leather_worker |
librarian | Librarian | - |
mason | Mason | - |
nitwit | Nitwit | - |
none | None | - |
shepherd | Shepherd | - |
toolsmith | Toolsmith | tool_smith |
weaponsmith | Weaponsmith | weapon_smith, weaponsmith |