Skip to main content

fov

KeyTypeDefault Value
fovInt70

This controls the Field of View (FOV) setting in the options.txt file, and it translates to the fov setting.

The reason this setting has its own named parameter is because the value in the options.txt file is stored in a different format. There's a bit of transformation that needs to happen to get the value in degrees to the value the game expects.

note

It might not be completely accurate so if you have a better way, please submit a PR. The current calculation can be found in the MinecraftClientOptions.kt file

build.gradle.kts
modSettings {
clientOptions {
fov = 70
}
}