macro question v2
so i have a storage that gets an items components to the object 1
data modify storage efficient:stored 1 set from entity @n[type=item] Item.componentsthen a function is run as
with storage efficient:stored 1i have a problem, i need to get the minecraft:stored_enchantments component inside and apply the whole thing as an item modifier but spyglass says that . nor : are valid symbols in a macro. how the hell do i do this??
i dont even know what to try anymore, and the fact that the syntax is explained nowhere isnt helping either
$say hey $(minecraft:stored_enchantments)i could try to set the storage to
Item.components."minecraft:stored_enchantments"but as far as i know you cant retrieve the whole root object of the macro