Started by
mégafoxy
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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.