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
All Versions
+ Add VersionUse at your own risk, not guarranted to work like vanilla
- added a LUT for sines and cosines which added ~+10% performance vs vanilla --> ~35% total performance improvement
- updated icon
- updated contacts
- fixed getting damaged a bunch while hitting and hugging a wall while flying
- fixed redundant math and checks
- more precise pre-calculated stuff with Pi
- avoid making new vectors
- cleaner code
- using Math.fma() now for better performance on newer cpu models with that instruction set
- cached a little more to save additional unnecessary calculations
- updated icon (there was a literal pixel that i deleted)