Quick Swap Hotkey
A client-side Fabric mod adding hotkeys to instantly swap between an elytra and chestplate or equip a Totem of Undying.

Overview of Quick Swap Hotkey
Quick Swap Hotkey is a client-side Fabric mod that lets players switch between their elytra and chestplate or equip a Totem of Undying using keyboard shortcuts. Both actions happen directly in the game without requiring you to open your inventory screen. Because it only transmits the standard inventory click actions that a player would normally perform manually, servers do not need to have the mod installed.
Elytra and Totem Swapping Mechanics
Pressing the G key automatically trades your equipped chest slot item between an elytra and a chestplate. If you currently have an elytra equipped, the mod searches for a chestplate; if you are wearing a chestplate or have an empty chest slot, it searches for an elytra. To prevent accidental breakage during flight, any elytra that is nearly broken with only 1 durability remaining will be ignored during the search.
When multiple matching armor pieces or wings exist in your inventory, the mod selects the replacement based on a specific priority order. First, it checks if a valid item is currently held in your offhand. If not, it chooses the item with the highest remaining durability, followed by the one with the most enchantment levels.
Pressing the X key moves a Totem of Undying from your hotbar or inventory directly into your offhand slot. Any item previously held in the offhand is placed back into the exact inventory slot where the totem was taken from. If you are already holding a totem in your offhand when you press the key, no action is taken.
Controls and Requirements
Players can customize the default X and G hotkeys at any time through the standard Minecraft controls menu. To run the mod on Minecraft 26.3, your setup must include Fabric API, Java 25, and Fabric Loader version 0.19.5 or newer.
- Open the game Options menu.
- Select Controls and then click on Key Binds.
- Locate the Quick Swap Hotkeys category to reassign the keys.
Questions
Does the server need to install Quick Swap Hotkey for it to work?
No, it is a client-side mod that only sends standard inventory clicks, so servers do not need it.
What happens if my spare elytra only has 1 durability left?
The mod skips any nearly broken elytra that has only 1 durability remaining.
How does the mod decide which elytra or chestplate to equip if I carry more than one?
It prioritizes an item in your offhand first, then the one with more remaining durability, and finally the one with more enchantment levels.
What are the default keys for swapping items?
The G key swaps between your elytra and chestplate, while the X key puts a Totem of Undying into your offhand.
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.

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

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

Allows players gliding with an elytra to drop primed TNT below them using an igniter.

A quality-of-life mod that lets players quickly swap between their chestplate and elytra with a keybind.

A bugfix mod that resolves constant elytra breaking sounds when using BetterEnd elytras with Accessories or Trinkets.

A lightweight Fabric mod that allows equipping the elytra in the Trinkets API cape slot.