Item Flags
Item Flags
Section titled “Item Flags”DaisyItemFlags is built for the common config case where item flags come from string lists.
What it does
Section titled “What it does”- parses normalized single flag input
- parses lists with
parseMany(...) - returns canonical lowercase keys
- exposes display names for UI
val flags = DaisyItemFlags.parseMany(listOf("hide enchants", "hide attributes"))Strict vs nullable
Section titled “Strict vs nullable”parseMany(...)throws on the first invalid inputparseManyOrNull(...)gives you a nullable fallback path