Acrophobia
A Fabric mod that nerfs extended elytra and creative flight by applying a stacking Fear of Heights status effect while airborne.

Overview and Flight Penalties
Acrophobia is a Java Edition mod by Midnight-SP that limits prolonged flight from elytras, modded creative flight armors, and other airborne methods. Whenever a player is airborne and not touching solid blocks, sitting in a vehicle, or in contact with liquid, they receive the Fear of Heights status effect. Returning to the ground, entering water or lava, or mounting a vehicle immediately clears the penalty.
Staying in the air causes the Fear of Heights effect to upgrade to higher tiers and inflict severe status ailments. When the initial timer expires while still flying, the effect increases in level and resets with a longer duration, scaling up to a default maximum of Level V. Once a player reaches Level II or higher, they are hit with Nausea, Wither, and Hunger every 5 seconds, with the potency of these penalties increasing alongside the fear level.
Wearing heavy defensive gear while flying can trigger the maximum penalty immediately. By default, if a player takes flight while wearing armor that exceeds the protection of a full diamond set, or has an armor toughness rating above 8, the Fear of Heights effect skips the lower tiers and jumps straight to the highest configured level.
Configuration Options
Server operators and players can customize the flight limits through the config/acrophobia.json file generated after launching the game for the first time. Every timer, level cap, and armor restriction can be adjusted in this file to fit different survival balancing needs.
- waitDuration: Sets the length of Level I Fear of Heights in ticks (defaults to 200).
- fearDuration: Sets the length of Level II and higher tiers in ticks (defaults to 400).
- maxLevel: Controls the highest possible tier the Fear of Heights effect can reach (defaults to 5).
- heavyArmor: Determines whether wearing armor stronger than full diamond or above 8 toughness instantly forces the maximum fear level (defaults to true).
- effectsGrounded: Counts players under the Levitation or Slow Falling status effects as being on the ground so they are not penalized (defaults to true).
Questions
How do I clear the Fear of Heights effect while using an elytra?
Land on solid ground, touch a liquid, or enter a vehicle to remove the effect immediately.
What happens if I keep flying with Fear of Heights Level II or higher?
Every 5 seconds, your character is afflicted with Nausea, Wither, and Hunger, which become stronger as your fear level increases.
Why does my Fear of Heights jump straight to the maximum level?
When the heavyArmor setting is enabled, having more armor points than a full diamond set or having more than 8 armor toughness causes the effect to immediately reach the maximum level.
Do Slow Falling or Levitation trigger the flight penalty?
No, as long as the effectsGrounded option remains set to true in the configuration file, both effects count as being grounded.
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.