
# -> Modify item
execute if items entity @s contents *[custom_data~{or_tool_type:"axe",or_tool_material:"iron"}] run \
    return run \
        item modify entity @s contents overly_realistic:forgery/iron_axe/iron_tool_forge_heated
execute if items entity @s contents *[custom_data~{or_tool_type:"pickaxe",or_tool_material:"iron"}] run \
    return run \
        item modify entity @s contents overly_realistic:forgery/iron_pickaxe/iron_tool_forge_heated
execute if items entity @s contents *[custom_data~{or_tool_type:"sword",or_tool_material:"iron"}] run \
    return run \
        item modify entity @s contents overly_realistic:forgery/iron_sword/iron_tool_forge_heated
execute if items entity @s contents *[custom_data~{or_tool_type:"shovel",or_tool_material:"iron"}] run \
    return run \
        item modify entity @s contents overly_realistic:forgery/iron_shovel/iron_tool_forge_heated
execute if items entity @s contents *[custom_data~{or_tool_type:"hoe",or_tool_material:"iron"}] run \
    return run \
        item modify entity @s contents overly_realistic:forgery/iron_hoe/iron_tool_forge_heated
