Minecraft Wiki
Advertisement

Minecraft uses the standard control scheme of mouse and keyboard controls as input. The game cannot be played using only a mouse or only a keyboard using the default control scheme.

Computer

Non-configurable Controls

Note: On many notebook computers and most Macs, "Function" or "F" keys do not operate in their default configuration. You can often get around this by pressing the fn key while you press an F key. To make F-keys work in OS X, go to the Apple menu → System Preferences → Keyboard and mouse and check the "Use F1, F2 etc. as normal keys", or alternatively hold down the fn key above the delete key whilst pressing the desired function key. If you choose the first option, you can then use the fn key to switch F keys back to actions they used to do (e.g. play/pause music, etc).
Default Function
Mouse Movement Turning; aiming; third person camera movement.
Mouse Wheel Scroll Scrolls through the quick-bar.
1-9 Selects the appropriate quick-bar item.
Esc Open up the menu and give back cursor control. Pauses Singleplayer games.
F1 Toggles the Heads Up Display.
F2 Simply pressing this key will take a screenshot and place it in:

%appdata%\.minecraft\screenshots on Windows
~/Library/Application Support/minecraft/screenshots in OS X
~/.minecraft/screenshots in Linux.

Use this in conjunction with F1 to take screenshots without the HUD.

F3 Pressing this key will toggle the showing of extra debug information on the top of the screen along side the Minecraft version, such as FPS (frames per second), chunk updates, available memory, and a performance graph.

Pressing the keys 1 - 9 will show you a more detailed view of the cpu usage graph on the right. Pressing 0 will show you a less detailed graph.

Pressing S while holding F3 will reload all web-loaded client resources.

Pressing T while holding F3 will reload all textures, which is useful for texture pack authors.

Pressing F while holding F3 will change render distance a.k.a. "fog", from farther to nearer. Before 1.8 this function was assigned to F (which was changeable) button. Holding ⇧ Shift while pressing F3 and F will reverse the fog toggling, going from nearer to farther.

F5 Toggles between first person, third person from the back and third person from the front.
F8 Toggles mouse smoothing. Looking around becomes a slow, smooth and more cinematic motion.
F10
or
Left Alt
Gives cursor control back to the operating system and freezes the game until it is clicked. However, the cursor is trapped inside the game's window, making this useless. Holding a movement key then toggling this on then off again will make that key stuck on, even if it is let go. Pressing the same movement key again will stop it.
F11 Toggles full-screen mode.

When using some Apple keyboards, F11 must be pressed while holding fn and alt to enter fullscreen. Using F11 alone toggles Exposé, and pressing F11 while holding fn will turn the volume down or vice versa, depending on system preferences.

Some people are experiencing a bug while exiting from full-screen mode that causes an inescapable black screen. When that's the case, use ALT+TAB to switch out of Minecraft and switch it back to windowed mode.

On Linux, mouse input is often buggy while in full-screen mode.

Also, note that this may not respect multiple monitors and Minecraft may occupy all screens instead of the one it is active on.

Configurable Controls

Default In-game option name Function
Mouse 1
(Left Click)
Attack Destroy blocks (Hold down); Attack (Click once); Toggle Switches/Doors (Click once).
Mouse 2
(Right Click)
Use Item Place blocks; Fire Bow; Block Sword; Use special blocks like Chests, Doors, and Switches; Enter Vehicles.
Mouse 3
(Wheel Click)
Pick Block Switch to the block currently looked at, as long as it is in the quickbar
W Forward Move forward. When double-tapped, causes the player to sprint (unless in water or Fly Mode is on or the character is too hungry).
A Left Strafe left.
S Back Move backward.
D Right Strafe right.
Spacebar Jump Jump. When double-tapped, toggles Fly Mode (Creative only). When Fly Mode is on, causes the player to gain altitude (ascend).
Left Shift Sneak Sneak. When the inventory is open, Shift + clicking on an item or stack moves it between the inventory and the hotbar. When a chest is open, Shift + clicking on an item will move the entire stack between the chest and the inventory. When a furnace is open, Shift + clicking an item or stack moves it to the inventory (Shift + clicking items or stacks in the inventory does not move them to the furnace). When crafting, Shift + clicking the crafted item automatically crafts the maximum number of that item for the materials being used, and moves all crafted items to the inventory. When Fly Mode is on, causes the player to lose altitude (descend).
E Inventory Open up the Inventory
Q Drop Drop a held item.
T Chat Chat (multiplayer only). Server commands.
Tab List Players In multiplayer hold the Tab key to see a list of players. On a Mac, this only works in full screen mode.

Old Keys

Below are the list of keys which are no longer usable in the current version of the game.[1]

Key Versions used Function
B Unknown - Classic [[Version history#|]] Brought up the list of usable blocks in Classic Creative.
I Unknown - Beta 1.4 Brought up Inventory before Beta 1.4.
Enter Unknown - Classic [[Version history#|]] Set Spawn Point in Classic Creative.
R Unknown - Classic [[Version history#|]] Respawned at spawn point in Classic Creative.
F5 Unknown - Classic [[Version history#|]] Toggled rain in Classic Creative.
F6 and F7 Beta 1.8 pre-release Moved the day/night cycle backwards and forwards, respectively.
G Classic 0.0.9a - Unknown Spawned a Human in Classic Creative.
Y Classic 0.0.9a - Unknown Inverted mouse in Classic Creative.
F Unknown - Beta 1.7.3 Toggled render distance (fog), changed to F3+F in Beta 1.8.
N Classic 0.0.9a - Unknown Generated a new map in Classic Creative.
Shift + F2 Beta 1.2_02 - Beta 1.5 Called an unfinished function that attempted to generate a huge TGA format screenshot. The completed files always ended up corrupt.

Pressing this key combination would cause Minecraft to either freeze for a while, displaying a strange view of the world or crash, depending on your amount of available RAM. During this time it would attempt to generate a file at least 1 GB in size.

F6 Beta 1.9 Pre-release 4-5 Slowly pans the camera when moving. This and below camera controls unintended.[2]
Y Beta 1.9 Pre-release 5 Zooms in camera.[2]
H Beta 1.9 Pre-release 5 Zooms out camera.[2]
Y + H Beta 1.9 Pre-release 5 Resets the camera's zoom.[2]
N Beta 1.9 Pre-release 5 Rotates camera Counter-Clockwise.[2]
M Beta 1.9 Pre-release 5 Rotates camera Clockwise.[2]
N + M Beta 1.9 Pre-release 5 Resets the camera's rotation.[2]
U Beta 1.9 Pre-release 5 Pans camera forward.[2]
O Beta 1.9 Pre-release 5 Pans camera backward.[2]
I Beta 1.9 Pre-release 5 Slowly pans the camera up.[2]
K Beta 1.9 Pre-release 5 Slowly pans the camera down.[2]
J Beta 1.9 Pre-release 5 Slowly pans the camera left.[2]
L Beta 1.9 Pre-release 5 Slowly pans the camera right.[2]

Xperia Play

Key Function
Right Bumper Place block
Left Bumper Destroy block
Scroll left in hotbar
Scroll right in hotbar
Jump.
Inventory
Directional Pad Movement
Right Analog Stick Moves the camera
Menu Game menu
Touch Screen Chat (multiplayer only). Tap to change selection in hotbar
Search Button Third Person View

References

Advertisement