#✅ | enchantments

1 messages · Page 1 of 1 (latest)

full gardenBOT
#

To add Protection IV to a Netherite helmet in an Item element, use the Item element’s NBT controls. The Elements page notes that the Item element lets you set custom NBT data (among other things). Steps:

  1. Add an Item element, right‑click it and choose Set Item → pick netherite_helmet.
  2. In the same context menu, open the Custom NBT or NBT Data editor.
  3. Paste an Enchantments tag that adds Protection IV, for example:
    {
      "Enchantments": [
        {"id": "minecraft:protection", "lvl": 4}
      ]
    }
    
  4. Save and exit; the element now renders the helmet with that enchantment.

If you want more than one enchantment, add more entries to Enchantments. The Item element will show the enchantment glint automatically when valid enchantment data is present.

#

Ah, sorry that didn’t work yet! Could you share a bit more detail so I can help properly?

  • What values did you paste into the Custom NBT field?
  • Does the Item element still show the default helmet, no glint at all, or something else weird?
  • Which Minecraft + FancyMenu versions are you running?

Once I know that, I can guide you through the exact steps or spot if something needs adjusting 😊

#

You need to mirror how vanilla Item NBT stores enchants: they live inside a tag object. In your Custom NBT you should wrap the Enchantments array like this:

{
  "tag": {
    "Enchantments": [
      {"id": "minecraft:protection", "lvl": 4}
    ]
  }
}

If FancyMenu still refuses to show the glint, try using a short literal for the level ("lvl": 4s) to match Minecraft’s expected type. The Item element docs mention you can set custom NBT data there, so once you have the correct structure the protection enchantment should show up on the helmet tooltip 👍

#

Thanks for sticking with it! Since the plain "Enchantments" block didn’t work, let’s try the full item NBT structure that Minecraft expects:

  1. Right-click the Item element → Custom NBT.
  2. Paste this exact JSON:
    {
      "tag": {
        "Enchantments": [
          {"id": "minecraft:protection", "lvl": 4s}
        ]
      }
    }
    
  3. Save it and exit the editor.

Key notes:

  • The Enchantments array must be inside tag.
  • The lvl needs to be a short (4s) for Minecraft to accept it.
  • If the element already has durability/etc., make sure you’re not accidentally overwriting it—only include the fields you want to change.

If this still shows the vanilla tooltip without the glint, let me know exactly what you see (any errors, missing glint, or data resetting) and we’ll dig deeper.

#

The [trim=…] style is for armor trim data, not the vanilla NBT form FancyMenu expects. Stick with the raw Minecraft item NBT structure inside the Item element’s Custom NBT field. Example for a fully enchanted helmet:

{
  "tag": {
    "Enchantments": [
      {"id": "minecraft:aqua_affinity", "lvl": 1s},
      {"id": "minecraft:mending", "lvl": 1s},
      {"id": "minecraft:protection", "lvl": 4s},
      {"id": "minecraft:respiration", "lvl": 3s},
      {"id": "minecraft:unbreaking", "lvl": 3s}
    ]
  }
}

Make sure:

  • The enchantments live inside "tag".
  • Each lvl is a short (e.g. 4s).
  • You don’t include the [trim=…] wrapper unless you also want vanilla trim data—trim requires a different structure (TrimMaterials etc.).

If you still don’t see the glint or tooltips change, double-check that the Item element is actually using that custom NBT (the editor shows the current JSON) and that no other tool is overwriting it. For reference, the Item element section explains where to set custom NBT inside FancyMenu.

#

Looks like the item is still using the vanilla tooltip, so FancyMenu isn’t applying your custom NBT yet. Let’s double-check the exact structure and how you paste it:

  1. Right-click the Item element → Custom NBT.
  2. Replace everything there with this exact JSON (don’t wrap it in [ … ] or any trim syntax):
{
  "tag": {
    "Enchantments": [
      {"id": "minecraft:aqua_affinity", "lvl": 1s},
      {"id": "minecraft:mending", "lvl": 1s},
      {"id": "minecraft:protection", "lvl": 4s},
      {"id": "minecraft:respiration", "lvl": 3s},
      {"id": "minecraft:unbreaking", "lvl": 3s}
    ]
  }
}
  • The Enchantments array must sit inside "tag".
  • Each level uses a short suffix (1s, 4s, etc.).
  • Don’t include any [trim=…] text here—armor trim is handled differently (via TrimMaterials inside the same JSON).

Once you save that, the Item element should display the enchanted tooltip and glint. If it still doesn’t change, paste a screenshot of the Custom NBT view and the tooltip, and I can spot if something else is overriding it.