Melon Shader Cycler

Add-on to oculus/iris to switch between shaders automatically when entering dimensions (including modded ones) or with just a key-bind

File Details

MelonShaderCycler-Hotfix-1.0.7

  • R
  • Jul 24, 2025
  • 7.08 KB
  • 13
  • 1.20.1
  • Forge

File Name

MelonShaderCycle-1.0.5 (2).jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:melons-shader-cycler-1312366:6805438")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changes / Fixes

Fixed double-triggering of shader cycle keybind by adding proper press/release state handling.
Fixed keybind warning message display on startup to ensure users are notified if keybinds mismatch.
Removed forced shader reload call to fix compatibility issues and prevent access errors in Minecraft 1.20.1
Added safeguard to prevent shader cycling if no shaders are found in shaderpacks folder.

Known Issues

Shader does not immediately update visually on keybind press when the player is stationary.
Workaround: Moving the player will apply the shader change correctly. (Working on fix)
The current Minecraft API restricts access to reloadShaders preventing forced shader reload programmatically.
Resource pack reload workaround was removed due to side effects and access issues.
Users must manually move after shader change to see the effect without restarting or reloading the world.