93949596979899100101102103
setAir(getAir() - dt); if (getAir() < 0) { // out of air; damage one heart every second if (damageTimer-- < 0) { health.damage(2, new BlockDamageCause(world.getBlock(head.getPosition()), DamageType.DROWN)); damageTimer = 20; } } break; case CLIENT: