I've tried to do this before as well, but was attempting to steam distill cinnamon. Please spend a few dollars and buy a piece of lab glass for the heating vessel (although depending on what you're distilling, an old solvent can or pressure cooker can be modified to do the same job. If this is for alcohol or anything else flammable and the mason jar shatters and dumps its contents directly onto the flame, you will have serious issues. Even with pressure release, my mason jar shattered from heat stress (soda lime glass with thick walls) and poured vile, sticky cinnamon sludge all over the work surface.
You will have issues cooling the gasses with that setup. Have you considered that you can't magically feed tubing through the side of a water filled bucket? I wrapped my tubing around a canister of heavily salted ice water, but the tubing ended up being too narrow anyway and I got jack squat. You can rig a crude condenser with copper piping and some plumbing parts (assuming the distillate won't attack copper). Run cold water over it to cool or devise something more sophisticated.
This should really be in citizen chemist.