Trying to add multiple pieces of data too an item.

Started by LocalNPC on Sun, 07/11/2021 - 21:02

Topic category: Help with MCreator software

Last seen on 21:28, 14. Aug 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Trying to add multiple pieces of data too an item.
Mon, 07/12/2021 - 00:34 (edited)

So, I am making a magic mod, and I want to make a wand. For the wand I made it so you have to craft spells and apply them to the wand. My problem is applying the spells, I currently just have it so you have to have the spells in your inventory, but I want to make it so you can apply them to the wand. But I want to make it so you can apply more than one. Can anyone help?

Edit: Does this just work with nbt tags?

Edit2: I found it out, I figured out you can use multiple of the same type of nbt tag.

Edit3: Uhhh, I don't think I can have more than one of the same type, I just tested.

Edited by LocalNPC on Mon, 07/12/2021 - 00:34
You could use enchantments…
Mon, 07/12/2021 - 07:33

You could use enchantments for that. Add enchantments that cannot be added in the enchantment table and then apply them to the item in your crafting block.