Make an item appear with a tag

Started by mégafoxy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make an item appear with a tag

Good morning ,

I'm begginer in Mcreator and I'm not English (I'm french).

I start a mod of NeoForge 1.21.4 and I want to spawn a item when a entity die and add a tag to the item spawn for remind the entity.

I'm very sorry for the english ,

And thanks for your future answers.

 

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the entity dies trigger,…
Sun, 10/26/2025 - 21:05

In the entity dies trigger, use an item stack variable which you can create on the right side of the screen, make it equal the item you want, than apply an nbt tag to that variable with whatever name and value you need, then spawn that variable item stack as a dropped item.