Hold any item in your main hand, run the command, and SmartMenus reads it directly from your inventory and writes it into the GUI's YAML file — no manual YAML editing needed. Custom enchant books, items with existing lore, custom model data, everything is captured exactly as-is.
What gets captured:
name: the display name (§ color codes converted to & for readability)
lore: every lore line, preserved exactly
material: item type
enchantments: regular enchants and stored enchants (enchanted books)
custom_model_data: captured automatically if present
item_flags: HIDE_ENCHANTS, HIDE_ATTRIBUTES, etc.
The file is saved and GUIs reload instantly — no restart, no /smartmenus reload needed.