Elytra Flight Lock
Elytra Flight Lock separates your flight direction from your camera and aiming direction.
While gliding with an Elytra, press CTRL to lock your current flight angle. You can then freely move the camera, look behind you, and fire bows or other projectiles without changing your flight path.
Press CTRL again to unlock. Your view smoothly returns to the locked flight direction, allowing you to continue flying normally.
Features
Locks the current Elytra yaw and pitch
Keeps the camera and projectile aiming completely free
Allows shooting while maintaining a stable flight path
Keeps the third-person body and Elytra aligned with the locked direction
Limits unnatural head rotation
Smoothly rolls the body when looking behind without making the player appear to fly backwards
Automatically clears the lock when Elytra flight ends
Supports multiplayer
Compatible with Do a Barrel Roll 3.7.3+1.21
Controls
While gliding:
Press Left CTRL or Right CTRL to enable the flight lock
Press CTRL again to disable it
CTRL continues to work normally outside Elytra flight.
Requirements
Minecraft 1.21.1
Fabric Loader
Fabric API
For multiplayer, install the same mod file on both the client and the server.