give @s[advancements={blazeandcave:animal/delicious_fish={cooked_cod=true}}] minecraft:cooked_cod 2
tellraw @s[advancements={blazeandcave:animal/delicious_fish={cooked_cod=true}}] {"color":"green","text":" +2 ","extra":[{"translate":"item.minecraft.cooked_cod"}]}

give @s[advancements={blazeandcave:animal/delicious_fish={cooked_salmon=true,cooked_cod=false}}] minecraft:cooked_salmon 2
tellraw @s[advancements={blazeandcave:animal/delicious_fish={cooked_salmon=true,cooked_cod=false}}] {"color":"green","text":" +2 ","extra":[{"translate":"item.minecraft.cooked_salmon"}]}