I have a AFK fish farm underwater, and just learned that without direct exposure to sunlight or moonlight, the time to fish is doubled. I don't want to completely move my entire farm, So can I just use glass above the farm, will that expose it to sunlight, making the debuff go away?. My farm is underwater in a ocean monument.
ok thanks, I just wanted to make sure it works under like 20 blocks of water
It might work optimally if you have water all the way up since then the bobber floats up to/towards the surface.
But I expect you mean air above the fishing water, a layer of glass and then water up to the surface? In which case the water above the glass will remove the sky exposure. So you need glass and or air all the way up.