tutorial:keybinds
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:keybinds [2020/06/13 13:19] – shedaniel | tutorial:keybinds [2020/06/13 13:22] – shedaniel | ||
---|---|---|---|
Line 34: | Line 34: | ||
==== Configuring your Keybind' | ==== Configuring your Keybind' | ||
- | Fabric will automatically register the keybinding' | + | Fabric will automatically register the keybinding' |
==== Registering your Keybind ==== | ==== Registering your Keybind ==== | ||
Line 52: | Line 52: | ||
<code java> | <code java> | ||
- | ClientTickCallback.EVENT.register(e -> | + | ClientTickCallback.EVENT.register(client |
- | { | + | |
- | | + | |
}); | }); | ||
</ | </ | ||
| | ||
Keep note that this is entirely client-side. To have the server respond to a keybind, you'll need to send a custom packet and have the server handle it separately. | Keep note that this is entirely client-side. To have the server respond to a keybind, you'll need to send a custom packet and have the server handle it separately. |
tutorial/keybinds.txt · Last modified: 2023/12/27 13:14 by 2601:188:cb7c:25a0:19fa:9122:4e5a:fad1