execute if entity @s[hasitem={item=minecraft:leather_boots}] run replaceitem entity @s slot.weapon.mainhand 0 minecraft:leather
execute if entity @s[hasitem={item=minecraft:leather_chestplate}] run replaceitem entity @s slot.weapon.mainhand 0 minecraft:leather
execute if entity @s[hasitem={item=minecraft:leather_helmet}] run replaceitem entity @s slot.weapon.mainhand 0 minecraft:leather
execute if entity @s[hasitem={item=minecraft:leather_leggings}] run replaceitem entity @s slot.weapon.mainhand 0 minecraft:leather
execute if entity @s[hasitem={item=minecraft:leather_horse_armor}] run replaceitem entity @s slot.weapon.mainhand 0 minecraft:leather 2
execute if entity @s[hasitem={item=minecraft:saddle}] run replaceitem entity @s slot.weapon.offhand 0 minecraft:iron_nugget 2
execute if entity @s[hasitem={item=minecraft:saddle}] run replaceitem entity @s slot.weapon.mainhand 0 minecraft:leather 2
execute positioned as @s run playsound mob.sheep.shear @a[r=6]