The bug
This bug allows you to breathe underwater for an unlimited amount of time by repeatedly using the bucket in the same space as your head. This allows you to gain air or oxygen with some time and you can repeat this process multiple times to get a continuous supply of air.
How to Reproduce
Be in survival and go underwater
Wait a little bit until some of your air bubbles disappeared
aim at a bock next to your head and hold down right click while holding a bucket
→ ❌ Your air meter refills
Related issues
is duplicated by
Attachments
Comments


Unable to reproduce in 1.16 candidate 1
Could still reproduce in 1.16.1
Can confirm in 1.16.5 and 21w08b.
Can confirm in 1.19.

To emphasize this report, I want to inform that this issue persists in version 1.21.4. I have been able to confirm this
As mentioned in the title of this report, various types of torches, buckets of water, and certain blocks as levers can be used by continuously placing them (holding down the right click) on a block at the same level of player's head to obtain unlimited oxygen
It's worth noting that there are also other types of blocks that remain in the water once placed, creating air spaces large enough for the player to breathe by being on it, such as beds, fence gates, flags, doors (some sunken ships found naturally in the overworld have doors, and this issue is clearly visible), etc. Below are several attached images with examples of what I'm talking about
[media][media][media][media]
To conclude this report, I must say that blocks such as fences, ladders, hatches, and chains do not present any problems when placed underwater (they do not create air spaces that would allow the player to exploit this). Of all the blocks out there, I don't know how many are buggy and which ones are fine. I've been using creative mode to investigate this, but I'm not willing to take the time to delve deeper, as I consider this knowledge sufficient, for my part