Skip to content

Custom Keybinds

Merlin1809 edited this page Mar 16, 2026 · 8 revisions

Key Setup

Iris Extension allows up to 10 custom keybinds to be used by the shader. They are set in the default Minecraft keybinds menu and are all unbound by default.

iext_key.<index> = <method>

Fill <index> with a number ranging from 0 to 9 and <method> with either HOLD or TOGGLE to setup the key for usage in the shader.


Usage in the Shader

To use the key in the shader, each key is assigned to a uniform:

uniform bool IEXT_KEY_<index>;

The translation is done in the shader language files like:

iris_extension.keybind.key<index>.name=<name>

Clone this wiki locally