Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to zoom in more [Feature request] #23

Open
m0oncatcher opened this issue Jun 13, 2023 · 2 comments
Open

Allow to zoom in more [Feature request] #23

m0oncatcher opened this issue Jun 13, 2023 · 2 comments

Comments

@m0oncatcher
Copy link

As simple as it sounds. We already have an ability to zoom out with a mouse wheel. It would be nice to also zoom in like twice as more, not by default but with a mouse wheel as well. For me the maximum level zoom isn't enough cause I play with extreme render distances and want to see my base from far far away.

@Kirisoup
Copy link

Kirisoup commented Sep 6, 2023

I would also really wish this change. I'm making a modpack where players can use an optifine-styled zoom without any requirement, and a spyglass zoom with zoom in and out feature and a much higher limit, this is really needed, thanks!

@Kirisoup
Copy link

Kirisoup commented Sep 6, 2023

I tried to fork it and tweak by myself (sorry that I have very little coding knowledge), and it seems like ./mixin/MouseMixin.java line 38

SpyglassImprovementsClient.MULTIPLIER = Mth.clamp(SpyglassImprovementsClient.MULTIPLIER-(d* SpyglassImprovementsClient.getInstance().settings.multiplierDelta), .1f,.8f);

should be the zoom level cap, where .1f is the minimum FOV and .8f is the maximum.

but what is weird is that when it is changed to 0f,.8f (or even negative), the zoom level seems to still be capped to 10% FOV (0.1f) due to other stuff, which I have no idea of due to the lack of knowledge to coding and minecraft modding :|


By the way: mouse sensitivity is still reduced as expected, which means that even if the fov is capped at a 10% minimum, camera movement would still be disabled when it is supposed to be 0% FOV. Turn on smooth camera is an easy fix but it would be better if mouse sensitivity is also capped at a minimum value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants