Set lore component from data storage
I want to set the
minecraft:lorecomponent of an item (in the players inventory so nodata modify) from a data storage. Previously i would have done this using and item modifier and thecopy nbtfunction, but that no longer exists since we got components. Is there a more efficient way of doing this other than copying the item into a container and then doingdata modifyfrom there?