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

Overview and Purpose
Caelus API is a compact utility mod that replaces hardcoded vanilla elytra mechanics with a generic flight attribute. By separating gliding from the standard item check, this library lets other mods grant elytra-style flight through their own items or effects. For regular players, the standard vanilla elytra item is updated to use this new attribute behind the scenes, so its normal in-game behavior stays unchanged.
How the Flight Attribute Works
The mod controls gliding through a fall-flying attribute that starts with a default value of 0, preventing the player from gliding. When an equipped item or active modifier raises this attribute to 1 or higher, elytra flight becomes unlocked for the player. Mod developers can activate this capability in their own projects by calling the CaelusApi.getInstance().getFallFlyingAttribute() method and applying an attribute modifier.
Developer Integration and Compatibility
Caelus API provides dedicated dependency support for both Forge and NeoForge mod loaders. Creators who wish to build upon this library can include the caelus-forge or caelus-neoforge dependencies in their build.gradle setup using C4's Maven repository. All assets and source code within the project are distributed under the LGPL-3.0-or-later license.
Questions
Does Caelus API change how the regular vanilla elytra works in game?
No, while the vanilla elytra is updated to rely on the new flight attribute, its normal gameplay behavior does not change.
What attribute value is required to enable elytra flight?
The flight attribute starts at a default of 0 (flight blocked) and requires a value of 1 or more to permit elytra flight.
Which mod loaders are supported by Caelus API for developers?
The API provides dependency configurations for both Forge and NeoForge projects.
Related

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.

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