Starting from Minecraft version 1.13, player oxygen regenerates over time when out of water instead of instantly.
This modification restores the pre-1.13 oxygen replenishment mechanics. Installation is simple - just drag and drop the mod file into your mods folder, no additional steps needed.
The mod also introduces a game rule called «toggleOldAirReplenish» that allows switching between instant air regeneration (as in pre-1.13 versions) and gradual regeneration (as in versions 1.13 and newer). By default, this rule is enabled, corresponding to the old system.