Copy the UUID of a Wolf into into the Tags of a Warden
Hi there! Working on a small datapack, where you can craft companion spawn eggs. When you use the spawn egg, it will spawn a tamed wolf with a tag, that calls a function and remove the tag afterwards, to not spam the tick function.
execute as @e[type=minecraft:wolf,tag=temp_owner_tag] run tag @s remove temp_owner_tag execute as @e[type=minecraft:wolf,tag=temp_summon_wardy] run summon minecraft:warden ~ ~ ~ {Tags:["wardy","get_team"],NoAI:1b,Invulnerable:true,PersistenceRequired:1b,attributes:[{id:"minecraft:scale",base:0.6}]} team join noCollision @e[type=minecraft:wolf,tag=temp_owner_tag] team join noCollision @e[type=minecraft:warden,tag=get_team] data modify storage wardy:temp_storage wolf_uuid set from entity @s UUID execute as @e[type=minecraft:warden,tag=get_team,limit=1,sort=nearest] run data modify entity @s Tags append value §wolf_uuid§ data modify entity @s Tags append value §wolf_uuid§ execute as @e[type=minecraft:warden,tag=get_team] run tag @s remove get_team execute as @e[type=minecraft:wolf,tag=temp_summon_wardy] run tag @s remove temp_summon_wardy``` Everything works fine so far, but i need to store the Wolf's UUID somehow into the tags of the actual companion (in this case it is a warden. I used §wolf_uuid§ as a placeholder. That is the Part, where I have no idea how to "load" the wolf_uuid. I'd be grateful for help <:dph_heart:1165345959132270724>