aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorWanja <105125277+Manchick0@users.noreply.github.com>2024-12-21 06:38:35 +0100
committerGitHub <noreply@github.com>2024-12-21 00:38:35 -0500
commitbcfade25defa19ddde47d27ebd1f97447b32c4f6 (patch)
tree11c27788bfff656284478477e0966a1746e6129f /src/test/java
parent070c7bc6b07b0dd24a9ae4c724fd079a265a8885 (diff)
downloadSkyblocker-bcfade25defa19ddde47d27ebd1f97447b32c4f6.tar.gz
Skyblocker-bcfade25defa19ddde47d27ebd1f97447b32c4f6.tar.bz2
Skyblocker-bcfade25defa19ddde47d27ebd1f97447b32c4f6.zip
Add customizable night vision strength feature (#1078)
* Add customizable night vision strength feature Introduced a `nightVision` subcommand to adjust night vision strength with options for `full` (= 100), `off` (= 0), and any other value between 0 and 100. Integrated the setting into the configuration menu and game rendering, with default strength set to 100. Updated localization to include feedback for strength changes. * Update GameRendererMixin.java Clamped the applied value to ensure it's not overflowing. Although you can't put an invalid value in-game, it's still possible to do so directly via the config file. * Update en_us.json Added the missing translation for the night vision strength option. * Add description tooltip for night vision strength option A tooltip was added to the "Night Vision Strength" option to improve user understanding of its functionality. Unused import(s) were also removed, following the requested changes. * Use clamp * Apply suggestions from code review --------- Co-authored-by: Manchick0 <endercreep109@gmail.com> Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com>
Diffstat (limited to 'src/test/java')
0 files changed, 0 insertions, 0 deletions