An alternative FreeCam implementation.
This alternative implementation is theoretically 100% legit since this is based on changing the position/angle of the camera.
The commit is here: https://github.com/commandblock2/LiquidBounce/commit/4d54b5a8e4b48dd68779678b22ee81f9b3aeb54d
I wrote this simply to prove this idea could work and this is currently not intended to merge to the official branch as there could be tons of improvement (
- able to cancel player movement input
- absolute coord choice (doesn't move according to player)
- proper injection near
net/minecraft/client/render/GameRenderer.java:1043(maybe) instead of in
) and I am just too lazy/busy to make any of that. Anyone who wants it should make the improvement and make the pr.