Returning a trident instantly after launching it

Hello, i am trying to make a system in which when the player is launching a trident with a custom tag, it will propel him forward and "not" launch his trident, it will only be used for the animation, however i could have help for this one please since i am very unfamiliar with /data, here is initially what i thought for the system. Load file scoreboard objectives add UseSpear minecraft.used:minecraft.trident Tick File execute as @a[scores={UseSpear=1..},nbt={SelectedItem:{id:"minecraft:trident",tag:{netherite_spear:1b}}}] at @s run function combatexpansion:items/weapons/spear/netherite/spear_dash spear_dash File : execute as @a[scores={UseSpear=1..},nbt={SelectedItem:{id:"minecraft:trident",tag:{netherite_spear:1b}}}] at @s run function delta:api/launch_looking data get entity @e[type=minecraft:trident,tag=netherite_spear,limit=1] then i don't know how to give the player the spear back with all the data it had in it, like enchants or custom names
Continue to help post