I have been searching on how to do this for over 2 hours now and either I am not understanding it or I am just not finding a good explenation for it so hoping this is the right forum here goes my question.
I have a game going with my kids. They die a lot and I want them to just be able to step on a preasure plate and get back their favorite items so I don't have to keep doing this. I have learned how to use the give command in a command block even with most mod pack items but I hit a wall when it involved giving an item from a modpack that has many of the same items with the same id's. Say Tinkerer's contruct to use as an example. My girl love the purple crossbow This is the Manyullyn Crossbow id# 7013. Now when I put in the command /give @p tconstruct:crossbow I get the most basic one that is worthless. Now when I mouse over I do see at the end of the description something that says 6 NBT tags so from what I have gathered I need to add something to this command to specify that crossbow but I have no clue what or how I would figure it out based on the item I want it to spawn. Any help for a Dad and his kids would be much appreciated
I don't really know a lot about mods and modpacks, but I'll might be able to help anyway
So, when you execute the command, you get a normal white crossbow.
To get a purple crossbow, you probably just have to put a 10 in the end. Like this:
/give @p tconstruct:crossbow 1 10
That would give the bow a data value of 10, which means you gave yourself the tenth version of the item.
Though the data value might instead refer to the damage of the bow, how damaged the bow is.
About the NBT tags, they are the properties of the item, how it looks and acts and in which way.
The NBT tags holds information such as enchantments and custom names. I sadly can't help you which such things as I have no knowledge in modded items, but I might at least gave you some useful information
Please give me feedback, if it didn't work I might can figure something else out