You can absolutely build a custom mana bar by using a Progress Bar element and feeding it the Iron Spells mana value via the NBT Data placeholder. Steps:
- Add a Progress Bar in your HUD layout.
- Set its Progress value to the placeholder that reads your mana—use the Player NBT Helper element to inspect what path Iron Spells stores the mana in (the
/data getcommand you already use is great for confirming it). - Plug that path into the NBT placeholder, e.g.:
{
"placeholder": "nbt_data_get",
"values": {
"source_type": "entity",
"entity_selector": "@s",
"nbt_path": "ForgeCaps."irons_spellbooks:player_magic".mana"
}
}
You can scale or clamp the value through the progress bar or a calc placeholder if you need a percentage.
If FancyMenu can’t read that NBT path (the placeholder always stays empty), then unfortunately there’s no way for SpiffyHUD to display it—there’s no fallback to grab mana data in that case. For reference on how the NBT placeholder works and how to feed custom values into elements, see the NBT placeholder docs: NBT Data Placeholder.
Let me know if you need help wiring the progress bar or making it show only when mana exists!