#$say data modify entity @s Item.components.minecraft:attribute_modifiers.modifiers append value {type:"$(attribute_actual_type)",operation:"$(attribute_operation)",slot:"$(attribute_slot)",id:"$(attribute_id)",amount:$(attribute_amount)}
$data modify entity @s Item.components.minecraft:attribute_modifiers append value {type:"$(attribute_actual_type)",operation:"$(attribute_operation)",slot:"$(attribute_slot)",id:"$(attribute_id)",amount:$(attribute_amount)}
$data modify storage minecraft:attribute new.id set value "minecraft:$(attribute_id)"
execute as @s run function reforge:forging/display/attribute/check_valid with storage minecraft:attribute new