
JJElytraSwap
A client-side mod that automatically swaps between your best chestplate and an elytra when jumping in midair and landing.
Automatic Elytra and Chestplate Swapping
Created by JumperOnJava for Minecraft Java Edition, JJElytraSwap automates switching between your chestplate and your elytra without requiring manual inventory management. When you press the spacebar while in the air, the mod replaces your equipped chestplate with your elytra so you can glide.
Once you touch the ground, your armor is automatically re-equipped upon landing. Outside of the automatic equipment change, you control and fly with the elytra just as you normally would in vanilla Minecraft.
Armor Selection Algorithm
Beginning in version 2.0, the mod uses a scoring system to pick the strongest chestplate from your inventory when swapping back from flight. It calculates a total score for each available chestplate and equips the one with the highest value.
For base stats, each full protection point adds 2 points and each toughness point adds 1 point toward the total score. Under this calculation, a Netherite chestplate gains 3 toughness points, a Diamond chestplate gains 2 toughness points, and other materials receive 0.
Enchantments and item modifications also factor into the choice, as the algorithm awards extra points for Protection, Mending, Unbreaking, and custom names. Specifically, Protection grants 2 points per level, Mending adds 0.5 points, a custom name adds 0.25 points, and Unbreaking provides 0.06 points per level.
Multiplayer and Client-Side Usage
Because JJElytraSwap functions entirely as a client-side mod, it does not need to be installed on a server to work. However, players should check server rules or ask administrators before using it in multiplayer, as automated armor switching is used at your own risk.
Questions
How do I trigger the swap to my elytra?
Press the spacebar while airborne to automatically equip your elytra, and land on the ground to switch back to your chestplate.
How does the mod decide which chestplate to equip?
In version 2.0 and above, it calculates a score based on protection, toughness, enchantments (Protection, Mending, Unbreaking), and custom names, then equips the highest-scoring chestplate.
Can I use JJElytraSwap on multiplayer servers?
Yes, it is a client-side mod, though you should check server rules or ask an admin first and use it at your own risk.
Related

Adds a dedicated Curios or Trinkets slot for the elytra so players can fly while wearing chest armor.

Adds craftable colorful wings worn in the Curios or Trinkets back slot that consume hunger while flying.

Overhauls elytra flight controls and camera movement with full pitch, yaw, and roll mechanics.

Allows players to take off with an elytra from the ground using a firework rocket without jumping.

A Create addon that adds a craftable mechanical wing glider with a wing-flap boost mechanic.

Lets players brake and slow down during elytra flight by pressing the sneak key, reducing landing damage.

Allows players to equip their elytra in the Baubles body slot and fixes several Baubles bugs.

A Create addon that adds rotation-powered flight anchors, an elytra-crafted Angel Ring, and upgraded elytra takeoff and boosting mechanics.