User Tools

Site Tools


tutorial:keybinds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:keybinds [2025/10/22 16:50] – Add code block cassiancctutorial:keybinds [2025/10/22 16:50] (current) – revert that codeblock cassiancc
Line 61: Line 61:
 </code> </code>
  
-On versions older than 1.21.9, you would substitute your Keybinding.Category for the translation key of the keybinding's category, e.g. `"category.examplemod.test"`+On versions older than 1.21.9, you would substitute your Keybinding.Category for the translation key of the keybinding's category, e.g. "category.examplemod.test"
  
 Sticky keys can also be created with ''KeyBindingHelper''. In vanilla, the sneak and sprint keys act as sticky keys when they are set to 'Sneak: Toggle' and 'Sprint: Toggle' respectively. If a key binding should always act as a sticky key, then pass ''() -> true'' as the final parameter. Sticky keys can also be created with ''KeyBindingHelper''. In vanilla, the sneak and sprint keys act as sticky keys when they are set to 'Sneak: Toggle' and 'Sprint: Toggle' respectively. If a key binding should always act as a sticky key, then pass ''() -> true'' as the final parameter.
tutorial/keybinds.txt · Last modified: 2025/10/22 16:50 by cassiancc