Command Items (or item commands) allows you to generate items with commands linked to them using NBT data.