Why might this not work either?
execute as @a if biome ~ ~ ~ minecraft:wooded_badlands run effect give @s minecraft:saturation 1 I have this line of code in the tick.mcfunction but with many different bioms and many different effects. there are 65 total lines. But when I join the world it gives me the effect of the biom I start in but if I go into a different biom It deosent change.