tutorial:keybinds
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:keybinds [2020/08/09 20:59] – Updated to new API emmanuelmess | tutorial:keybinds [2020/08/21 10:22] – Removed deprecated event usage boogiemonster1o1 | ||
---|---|---|---|
Line 43: | Line 43: | ||
<code java> | <code java> | ||
- | ClientTickCallback.EVENT.register(client -> { | + | ClientTickEvents.END_CLIENT_TICK.register(client -> { |
while (keyBinding.wasPressed()) { | while (keyBinding.wasPressed()) { | ||
client.player.sendMessage(new LiteralText(" | client.player.sendMessage(new LiteralText(" |
tutorial/keybinds.txt · Last modified: 2023/12/27 13:14 by 2601:188:cb7c:25a0:19fa:9122:4e5a:fad1