Описание
A mod to infinitely fly with an elytra without fireworks. It only controls your player's pitch to take advantage of Minecraft's physics, so it is essentially a smart macro, not a hack!
# How to use
There is a keybind to toggle the mod (H by default). To start flying you can either get 50 blocks of height and jump off (and open your elytra), or use a firework rocket (the mod will automatically pitch up to gain height).
When you start flying, the mod will:
1. Pitch down to 30°.
2. Wait until you are 10 ticks (0.5 seconds) away from hitting a block or have horizontal velocity higher than 2 blocks/tick (40 blocks/second).
3. Pitch up to -48° and slowly move your camera down by 0.5°/tick (10°/second) until it gets down to 30° OR you lose all of your vertical speed (in which case you pitch down immediately).
4. Go back to 2.
These angles were obtained using [elytra-gliding-calculator](https://github.com/meanwhile131/elytra-gliding-calculator) (made by me).
This method will gain you ~3 blocks of height per iteration, so you can fly for as long as your elytra lasts!
# Configuration
The mod has a configuration menu (accessible from mod menu by clicking on the mod icon in the mod list), there you can configure all of the above mentioned constants.
# Limitations
Due to requiring 50-60 blocks of open space, using it in The Nether is challenging (unless you are on the nether roof). In The End, the mod will mostly pitch up because you reach 2 blocks/tick (40 blocks/second) of horizontal velocity, since the void isn't something the mod detects as a collidable block.