execute at @s unless biome ~ ~ ~ #minecraft:spawns_cold_variant_farm_animals unless biome ~ ~ ~ #minecraft:spawns_warm_variant_farm_animals if predicate survivalplus:50chance run data modify entity @s Offers.Recipes append value {maxUses:6,buy:{id:egg,count:4},sell:{id:emerald,count:4}}
execute at @s if biome ~ ~ ~ #minecraft:spawns_cold_variant_farm_animals run data modify entity @s Offers.Recipes append value {maxUses:6,buy:{id:blue_egg,count:4},sell:{id:emerald,count:5}}
execute at @s if biome ~ ~ ~ #minecraft:spawns_warm_variant_farm_animals run data modify entity @s Offers.Recipes append value {maxUses:6,buy:{id:brown_egg,count:4},sell:{id:emerald,count:5}}