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 revision Previous revision
tutorial:keybinds [2020/06/13 13:22]
shedaniel
tutorial:keybinds [2020/06/13 13:22] (current)
shedaniel
Line 52: Line 52:
  
 <code java> <code java>
-ClientTickCallback.EVENT.register(-> +ClientTickCallback.EVENT.register(client ​-> {
-{+
     while (keyBinding.wasPressed()) System.out.println("​was pressed!"​);​     while (keyBinding.wasPressed()) System.out.println("​was pressed!"​);​
 }); });
tutorial/keybinds.txt · Last modified: 2020/06/13 13:22 by shedaniel