#✅ | How to properly make a text element display the name of an item
1 messages · Page 1 of 1 (latest)
Use a Single-Line Text element instead of the normal Text element—only that one parses JSON components like the item-display-name placeholder returns.
- Right-click the editor background → New Element → Single-Line Text.
- In the text field, paste the
slot_item_display_nameplaceholder for the slot you care about (e.g.{"placeholder":"slot_item_display_name","values":{"slot":"0"}}). - Make sure the element isn’t appending other text; the placeholder must be the only content so it can parse the component into the localized name.
- If you need a different slot (helmet, selected hotbar, etc.) search the placeholder list in-game for the exact name you need.
That placeholder list lives in the FancyMenu docs; it explains slot_item_display_name and how to target specific slots: FancyMenu placeholders.