
Key bind adds new key action for client that causes selected event result.
Step-by-step guide: how to make key binding →
Key binding category is category shown in controls section of Minecraft settings.
All keybindings belonging to the same category should have the same category key.
To actually set category name, go to **${l10n.t("tab.workspace")} -> ${l10n.t("workspace.category.localization")} ->
${l10n.t("workspace.localization.add_entry")}** and use key.categories.${data.keyBindingCategoryKey} for the entry name
and then set the value to desired category name.
This parameter defines the key used to execute the key binding procedure.
Players can always change it inside the Controls.
This parameter controls the name of the key shown inside the Controls tab in Minecraft settings.
This procedure will be executed when the selected key is pressed.
This procedure will be executed when the selected key is released (after the player has pressed the key).
You can use pressedms dependency to determine for how long the key was pressed in your custom procedures.