data merge entity @s {Health:150}
data modify entity @s equipment.mainhand set value {id:"minecraft:netherite_sword",components:{custom_data:{longsword:tag},attribute_modifiers:[{type:"attack_damage",amount:8.2,slot:mainhand,id:"-223321432456189101-73841",operation:add_value},{type:"attack_speed",amount:-2.7,slot:mainhand,id:"-123313401414457-68028",operation:add_value},{type:"entity_interaction_range",amount:.4,slot:mainhand,id:"-123313421414457-68428",operation:add_value}],item_name:{"text":"Scorched Longsword","italic":false},enchantments:{"survivalplus:beheading":2}}}