Elytra Combat Nerf
A Fabric mod that limits Elytra flight time and applies a cooldown when players enter combat.

Combat Flight Restrictions
Elytra Combat Nerf is a mod that adjusts survival and PvP balance by restricting how long a player can glide with an Elytra after being hurt by another entity. Taking damage from an entity puts the player into a Combat State, which limits continuous flight to 3.5 seconds by default so players cannot instantly flee a battle by taking to the sky. While airborne or restricted, the screen displays alerts in the action bar to keep the player informed of their remaining flight allowance and current penalty timers.
Exceeding the allowed flight window while in combat causes the Elytra to lock up for a default duration of 1 minute, disabling flight until the timer finishes. Consequently, players have to ration their time in the air during an engagement to avoid having their wings grounded. Once the default 5-minute combat timer concludes without the player receiving any additional damage, the Combat State ends and every active flight restriction or cooldown is cleared automatically.
Configuration Options
Players and server operators can modify all timer lengths by editing the configuration file found at .minecraft/config/elytra_combat_nerf.json. Every time setting inside this file uses game ticks as its unit of measurement, with 20 ticks corresponding to 1 second. Changing these numbers allows you to tailor how strict the gliding penalties are during combat encounters.
- combatDuration: Determines the number of ticks the Combat State stays active after the player takes damage.
- maxFlightTime: Sets the tick limit for how long a player may fly during combat before the cooldown penalty activates.
- cooldownDuration: Defines how many ticks the Elytra remains unusable after a player goes over the combat flight limit.
Compatibility and Environment
This lightweight mod is made for the Fabric loader and functions in both singleplayer worlds and multiplayer environments. When used for multiplayer, the mod needs to be installed on the server to apply the combat rules. Because the cooldown penalty relies on vanilla Minecraft cooldown mechanics, the visual timer works smoothly alongside other HUD mods.
Questions
How long can I fly with an Elytra after taking damage?
By default, you are limited to 3.5 seconds of flight while in the Combat State before a cooldown is triggered.
What happens if I fly longer than the allowed combat time?
Your Elytra enters a 1-minute cooldown by default, which blocks you from gliding until the timer runs out.
How do I clear the combat state and flight penalties?
Stay out of harm's way until the combat timer runs out (5 minutes by default) without taking more damage, which resets all restrictions.
Where can I change the timer settings?
You can adjust the tick values in the .minecraft/config/elytra_combat_nerf.json file, where 20 ticks equals 1 second.
Related

A library mod and API that exposes vanilla elytra flight mechanics as an entity attribute for developers.

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

Adds craftable hang gliders with wind mechanics and upgradeable speed for gliding through the skies.

Adds a craftable hang glider with wind physics as an early-game scenic flight alternative to the elytra.

A client-side camera mod that adds smooth perspective transitions and camera roll during elytra flight.

Adds cape-like movement physics to the elytra while worn on a player's back.

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.