Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Example

Requires Fabric API Requires Cloth Config

Gamma Utils

This is a fully configurable and client side gamma utility mod, making it much easier to see in the dark. It's a really basic mod that allows you to change the gamma value in game way higher than the in game brightness setting allows. Nights will look like day and caves will look like they're fully lit up. Basically Fullbright but for fabric.

Press G to toggle between 100% and 1500% gamma
If no shaders are used this is generally the better option since it's a lot more adjustable and consistent

Press H to toggle client side Night Vision on or off
This works better in combination with shaders than gamma, however can't be adjusted like gamma can

Fully adjustable to your liking

To see everything that can be done and adjusted open the function and configuration spoilers below.
Here are some examples of what's possible though:

Mod overview video from BlackNinja745

Toggle Night Vision
High gamma won't work in combination with shaders,
however, night vision will work with at least some shaders:
Night Vision

Smooth Transition
Enable smooth transition (off by default) for a less intense transition when toggling gamma:
Smooth Transition

Status Effects
Enable fully client side status effects (off by default)
To keep you reminded that you've enabled gamma outside normal values:
Status Effects

All Functions

All functions and commands

Toggle Gamma
Usage: Keybind (default: G) or /gamma toggle
Toggle between the default gamma percentage and the configured toggled percentage.

Increase Gamma
Usage: Keybind (default: arrow up) or /gamma increase <value> (value is optional)
Increase the gamma percentage by the configured step percentage or the given value.

Decrease Gamma
Usage: Keybind (default: arrow down) or /gamma decrease <value> (value is optional)
Decrease the gamma percentage by the configured step percentage or the given value.

Set Gamma
Usage: /gamma set <value>
Set the gamma to a specific percentage.

Min Gamma
Usage: Keybind or /gamma min
Sets the gamma to the configured minimum limit.

Max Gamma
Usage: Keybind or /gamma max
Sets the gamma to the configured maximum limit.

Toggle Night Vision
Usage: Keybind (default: H) or /gamma nightvision
Toggle night vision on or off.

Configuration (File / Mod Menu)

All configuration options

Default Gamma Percentage
Default: 100%
Gamma percentage for when the mod is toggled off.

Toggled Gamma Percentage
Default: 1500%
Gamma percentage for when the mod is toggled on.

Update Toggle Value
Default: false
Enabling this will make the toggle value remember the last non default value you've used.

Smooth Transition
Default: false
Make the transition when toggling gamma smoother.

Transition Speed
Default: 4500
Speed in gamma percentage per second.

Show Status Effect
Default: false
Show a client side status effect when the gamma percentage is outside normal range.
("Low Gamma" below 0% and "High Gamma" above 100%)

Limit Check
Default: true
Should the mod enforce the minimum and maximum gamma limits.

Minimum Gamma Limit
Default: -750%
Minimum gamma percentage the mod will allow if the Limit Check is enabled.

Maximum Gamma Limit
Default: 1500%
Maximum gamma percentage the mod will allow if the Limit Check is enabled.

Gamma Percentage Step
Default: 10%
Gamma percentage change for every increase or decrease.

Show Gamma Message
Default: true
Show a message with the new gamma value.

Reset on Close
Default: false
Reset the gamma value to default when Minecraft closes.

Versions & Dependencies

1.19+

Required:
Fabric API
Cloth Config API (Is needed to make the config work)

Optional:
Mod Menu (This mod allows you to edit the configs in game)

1.16 - 1.18

Required:
Fabric API (0.31.0 or later)

Optional:
Mod Menu (This mod allows you to edit the configs in game)

Already included/embedded:
Cloth Config API (Is needed to make the config work)

1.14 - 1.15

Required:
Fabric API (0.14.0 or later)

Optional:
Mod Menu (This mod allows you to edit the configs in game)

Already included/embedded:
Auto Config Updated API (Is needed to make the config work)
Cloth Config API (Required for Auto Config)

External resources



Project members

Sjouwer

Owner


Technical information

License
LGPL-3.0-only
Client side
required
Server side
unsupported
Project ID