tellraw @s [{"text":"\n        - = ","color":"gray"},{"translate":"blue.tr.tutorial.transfer_title","fallback":"Ownership Transferring","color":"white"},{"text":" = -\n\n"},{"translate":"blue.tr.tutorial.transfer_1","fallback":" This menu can be used to transfer the ownership of any of your trims to the nearest player. You must have the 4 templates anywhere in your inventory "},{"translate":"blue.tr.tutorial.transfer_2","fallback":"OR","color":"white"},{"translate":"blue.tr.tutorial.transfer_3","fallback":" the full set equipped while the target has an untrimmed set on."}," ",{"text":"ℹ\n","color":"dark_gray","hoverEvent":{"action":"show_text","contents":{"translate":"blue.tr.tutorial.transfer_hover","fallback":"The target needs to be within 6 blocks and not completely invisible\n\nIf you're having trouble with the direct armor method, try using templates.\nYou can untrim your armor by placing a Smithing Table on top of another.","color":"gray"}},"hover_event":{"action":"show_text","value":{"translate":"blue.tr.tutorial.transfer_hover","fallback":"The target needs to be within 6 blocks and not completely invisible\n\nIf you're having trouble with the direct armor method, try using templates.\nYou can untrim your armor by placing a Smithing Table on top of another.","color":"gray"}},"clickEvent":{"action":"run_command","value":"/trigger Trims_Menu.BLUE set 5"},"click_event":{"action":"run_command","command":"/trigger Trims_Menu.BLUE set 5"}},{"translate":"blue.tr.tutorial.transfer_4","fallback":"\n ⚠ You cannot undo this action by yourself ⚠\n","color":"dark_red","clickEvent":{"action":"run_command","value":"/trigger Trims_Menu.BLUE set 3"},"click_event":{"action":"run_command","command":"/trigger Trims_Menu.BLUE set 3"},"hoverEvent":{"action":"show_text","contents":{"translate":"blue.tr.tutorial.transfer_warning","fallback":"The only way you can get ownership back is by killing the new owner, or having the owner transfer it back. You can view the current owner in the [Owners] menu","color":"gray"}},"hover_event":{"action":"show_text","value":{"translate":"blue.tr.tutorial.transfer_warning","fallback":"The only way you can get ownership back is by killing the new owner, or having the owner transfer it back. You can view the current owner in the [Owners] menu","color":"gray"}}}]
playsound entity.experience_orb.pickup player @s ~ ~ ~ 1 1
advancement grant @s only blue:tr/tags tutorial_transfer