Tired of switching between your chestplate and your elytra every time you want to fly? Auto Elytra does it for you. Just wear your chestplate as usual and keep a pair of elytra anywhere in your inventory. When you jump off a cliff, a tower or any high place, your chestplate is swapped for the elytra right away, so you can open them and glide like normal.

As soon as you land, your chestplate goes back on and the elytra return to the same spot in your inventory they came from. The same happens if you fall into water or lava, climb a ladder, or get on a mount. Your items keep their enchantments, names and durability, and nothing is ever lost. If the slot was filled while you were flying, the elytra go into another free slot, or drop at your feet if your inventory is full.
The add-on only swaps when there is a real drop below you. Normal jumps, walking up and down stairs, and small drops of two or three blocks will never change your armor. If you carry more than one pair of elytra, the one with the most durability left is used, and nearly broken elytra are skipped. Nothing happens if you are not wearing a chestplate, if you have no elytra in your inventory, if you are already wearing elytra yourself, or if you are in Creative mode.