Skip to content

Item Flags

DaisyItemFlags is built for the common config case where item flags come from string lists.

  • 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"))
  • parseMany(...) throws on the first invalid input
  • parseManyOrNull(...) gives you a nullable fallback path