
# -> Set item
item replace entity 00000001-0000-002b-0000-00010000002b contents with copper_leggings

# -> Modify item
item modify entity 00000001-0000-002b-0000-00010000002b contents overly_realistic:item_edit/special_item_edit/copper_leggings

# -> Set edited item data
item modify entity 00000001-0000-002b-0000-00010000002b contents overly_realistic:item_edit/special_item_edit/set_edited_item

# -> Get player's blacksmithing skill
scoreboard players operation #or.lay_figure_user_blacksmithing_level OverlyRealistic.General.ArbitraryData = @s OverlyRealistic.Player.WisdomStats.Blacksmithing

# -> Add skill-dependent modifiers
item modify entity 00000001-0000-002b-0000-00010000002b contents overly_realistic:armor_skill_modifiers/set_modifier

# -> Create item
execute as 00000001-0000-002b-0000-00010000002b run \
    loot spawn ~ ~ ~ loot overly_realistic:item_from_slot_sources/item_from_contents
