Skip to content

Controls

Sasha Koshka edited this page Apr 26, 2022 · 5 revisions

Controls

M4KC uses keyboard and mouse controls.

Keyboard

Key Action
W Move forward
S Move backward
A Strafe left
D Strafe right
E Enter inventory
F Swap with offhand
Space Jump
ESC Pause
F1 Toggle HUD
F2 Take screenshot (saves to ~/.m4kc/screenshots/)
F3 Toggle debug screen
F4 Enter advanced debug menu
1 Select hotbar slot 1
2 Select hotbar slot 2
3 Select hotbar slot 3
4 Select hotbar slot 4
5 Select hotbar slot 5
6 Select hotbar slot 6
7 Select hotbar slot 7
8 Select hotbar slot 8
9 Select hotbar slot 9

Mouse

There are two ways to use the mouse, available in the options menu.

Non-captured

The default option is non-captured, the mouse can be moved freely around the window. When the mouse is away from the center, the player's view turns in its direction. The block under the mouse and within reach will be selected.

Captured

This option is experimental, and a bit hard to control as of now. The mouse pointer is hidden, and the player's view can be moved by moving the mouse in that direction. There is a crosshair in the middle of the screen, and the block under the crosshair and within reach will be selected.

For both

For both of these options, clicking the left mouse button destroys the selected block, and clicking the right mouse button places whatever block is selected in the hotbar. Moving the scroll wheel selects different hotbar slots.

Clone this wiki locally