SmartElytra
A client-side Fabric mod that prevents accidental elytra activation by checking movement, blocks, and held items.

What SmartElytra Changes
SmartElytra is a mod designed to stop players from accidentally opening their elytra during regular movement. Rather than unfolding your wings every time you hit the jump button while airborne, the mod evaluates your current actions to predict whether you genuinely intend to glide. It works automatically in the background by running through a fixed decision sequence whenever an activation attempt happens.
How the Detection Logic Works
The mod uses a strict five-part evaluation order to either permit or block wing deployment. It inspects your held items, movement speed, surrounding terrain, and jump timing one step at a time. When a rule matches your situation, the system immediately enables or prevents gliding without moving on to the later checks.
- Holding Fireworks: When you have fireworks in your hand, wing deployment is immediately permitted.
- Standing in Blocks or Fluids: If you are not sprinting and the space at your feet is not air (indicating your feet are inside a block or liquid), the wings will not open.
- Jump Peak Crawling: When your vertical velocity has an absolute value under 0.25 and fewer than 20 ticks have elapsed since you jumped, gliding is permitted so you can tap the spacebar at the top of a jump to drop into a crawl.
- Leaving Water or Crawling: If you are not sprinting and the space one block beneath your feet contains air or liquid, deployment is permitted so you can hop out of water or initiate a crawl.
- Forward Flight Room: Finally, the system inspects the five blocks in front of you and only permits gliding if that path has sufficient clearance for flight.
Questions
How can I guarantee my elytra opens on demand?
Keep fireworks in your hand, since the very first rule in the detection sequence always permits flight when holding fireworks.
Does this mod break using the elytra to crawl or hop out of water?
No. The logic specifically permits activation when you press the spacebar near the top of a jump (vertical speed below 0.25 within 20 ticks of jumping) or when not sprinting with air or liquid one block under your feet.
Why do my wings stay closed when I jump inside a tight room?
If none of the earlier checks match, the mod scans the five blocks ahead of you and blocks deployment if there is not enough clear space to fly.
Related

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.

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

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

Overhauls elytra flight by allowing wing flapping, flaring, easy takeoff, and flight stamina using hunger.

Adds new enchantments including nine specifically for elytra gliding, takeoff, flapping, speed, and armor defense.

Rebalances and overhauls elytra flight with campfire updrafts, camera tilt, new enchantments, and altered firework boosts.

Client-side utility mod adding keybinds to toggle elytra flight, trigger flight, and perform one-button firework takeoffs.