Elytra Optimizations
ModrinthOptimizes Elytra's janky math code
10.7k downloads 28 followers updated 3mo ago
latest v1.0.5 Modrinth
KNOWN ISSUE: DOESN'T WORK ON 1.21.2+
I'm currently trying to get a fix for that.
Optimizes Elytra's janky math code by pre-calculating some variables and other stuff. It gains roughly 25-35% faster compute timing per tick while still maintaining vanilla parity (should be even better on lower-end hardware!).
Performance:
Every ~millionth tick of nonstop flying with the Elytra (equivalent to almost 14 hours) Minecraft computes ±300 FPS more (not that impressive but still something!). Go to gallery for a more in-depth explanation.
Dependencies:
- Fabric loader installer (version 0.16.14+) - https://fabricmc.net/use/installer/
- Fabric API (any version that supports Minecraft version 1.21.1+) - https://modrinth.com/mod/fabric-api
Credits:
- sebastian - old icon and Neoforge port
- repository for Neoforge https://github.com/BaboboiPR/elytra-optimization-neoforged
Compatibility:
Should work with every other mod.
Feel free to report any bug via my discord! - @qkba
Versions
Alpha
1.0.1
# Elytra optimization ported to Neoforge by sebastian
Use at your own risk, not guarranted to work like vanilla
Release
1.0.5
- added a LUT for sines and cosines which added ~+10% performance vs vanilla --> ~35% total performance improvement
Release
1.0.3
### I SUGGEST USING FROM THIS VERSION UP ^
- fixed getting damaged a bunch while hitting and hugging a wall while flying
- fixed redundant math and checks
Beta
1.0.1
- cleaner code
- using Math.fma() now for better performance on newer cpu models with that instruction set
- cached a little more to save additional…

Comments 0
No comments yet. Be the first to share your thoughts.