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. The controls menu is located in the Options setting.
 Non-configurable controls
- Note: On many notebook computers and most Macs, "Function keys" (briefly "F-keys") do not operate in their default configuration. You can often get around this by pressing the fn key or sometimes the ⇧ Shift 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". 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). You can also use the F keys by holding the option button while pressing them. NOTE: the F5 key does not require this.
PC Minecraft uses a combination of the mouse and keyboard for controls, generically known as "mouselook/keymove". Many prior games (notably DOOM, and Quake) have used such a scheme, but those who have not played such a game before, will need some time to practice before they can get around effectively. Such folks should start with creative or peaceful mode until they have the hang of moving and looking around.
|Turning; aiming; third person camera movement.|
|Scrolls through the quick-bar.|
|Esc||Opens up the menu and gives back cursor control. Pauses Singleplayer games. Closes any open GUI. Exits the chat/command window.|
|F1||Toggles the Heads-Up Display.
Use this in conjunction with F2 to take screenshots without the HUD. This option is also useful when exploring with a map.
|F3||Pressing this key will toggle the showing of extra debug information on the top of the screen alongside the Minecraft version, such as FPS (frames per second), chunk updates, and available memory.
Pressing the keys 1 - 9 while in the debug screen will show you a more detailed view of the graph on the right. Pressing 0 will show you a less detailed graph. (Hold ⇧ Shift before pressing F3 to display the Profiler graph.)
Pressing S while holding F3 will reload all web-loaded client resources, which is useful for resource pack authors.
Pressing A while holding F3 will reload all chunks.
Pressing T while holding F3 will reload all textures, which is useful for resource pack authors.
Pressing P while holding F3 will toggle the auto-pause when the window loses focus.
Pressing H while holding F3 will toggle detailed item descriptions.
Pressing C while holding F3 for at least 6 seconds will trigger a manual debug crash on purpose after the keys are released.
Pressing B while holding F3 will toggle showing the hitbox around entities.
Pressing D while holding F3 will clear chat history (including previously typed commands)
|F4||Disables shaders if active.|
|⇧ Shift||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. If you Shift + double click you can move all = items.
When a furnace is open, Shift + clicking an item or stack in the furnace moves it to the inventory, and Shift + clicking an item or stack in the inventory moves it into the "item" (not fuel) slot of 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.
In the survival inventory tab of the creative inventory, Shift + left click on the red 'Delete' field clears the whole inventory.
When in the Multiplayer server selection menu, Shift + up and Shift + down moves a server name to a specific position. You can also hold shift while a server name is selected left click another server name and they will swap.
 Configurable controls
|Default||In-game option name||Function|
|Attack/Destroy||Destroy blocks (hold down); Attack (click once); Split a stack evenly (hold and drag); sort loose items into one stack (double-click)|
|Use Item/Place Block||Place blocks, place one item from a stack in each inventory slot (hold and drag), toggle switches/doors (click once), charge a bow (release to fire), block using a sword, use special blocks like chests, doors, and switches, enter vehicles, eat food, drink potions, hoe farmland, shear sheep, command tamed wolves and ocelots to sit, trade with villagers, place fire using flint and steel or a fire charge, name a mob with a name tag, attach a lead to an animal or attach an animal on a lead to a fence, cast or reel in a fishing rod, throw a splash potion, egg, ender pearl, eye of ender, bottle o' enchanting, or snowball, equip armor from the quickbar if the associated armor slot is empty.
Commonly, if both the item held and the block clicked on has a such purpose (like trying to place dirt on a chest), the block will overrule the item. This also means a player can punch an entity while eating/drinking, however the eating/drinking will reset when a player presses Button 1.
|Pick Block||Switch to the block currently looked at, as long as it is in the quickbar. In Creative mode, if the block is not in the quickbar, replaces the currently active quickbar slot with the block currently looked at. Clicking on a mob will give that mob's spawn egg, if there is one. Clicking on a painting, minecart (with or without chest or furnace), or boat will give the corresponding item.
Hovering over an item in an inventory and clicking with the mouse wheel when in creative gives the maximum stack of that item.
|W||Walk Forwards||Move forward. When double-tapped, causes the player to sprint (unless in water, Fly Mode is on, or the character is too hungry).|
|A||Strafe Left||Strafe left.|
|S||Walk Backwards||Move backward and when double-tapped, while holding forward, will cause the player to sprint (unless in water, Fly Mode is on, or the character is too hungry).|
|D||Strafe Right||Strafe right.|
|Spacebar||Jump||Jump. When swimming, keeps the player afloat. 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 Fly Mode is on, causes the player to lose altitude (descend).
Used to get off rideable entities.
|Left Control||Sprint||Start sprinting.|
|E||Inventory||Open the Inventory. Close any open GUI.|
|Q||Drop Item||Drop/toss an item. If items are stacked, only one will be thrown/tossed/dropped. There is no actual "throw" command; "drop" (default Q) will toss an object approximately 2 to 3 blocks from you. Eggs, Ender Pearls, Eyes of Ender, and Snowballs can be thrown by the "use" command (default right-clicking). Ctrl+Q drops the whole stack of items. On Macs, you must use the command button instead, but since this quits the game, you must do Ctrl+Cmd+Q.
Note that there is no corresponding Pick Up command. Dropped items are picked up (if there is room in inventory/hotbar) by moving near them. Placed items are picked up by "mining" (e.g. chopping up a sign with an axe), when they behave as dropped items and can be picked up as such.
|1 - 9||Hotbar Slot||Selects the appropriate hotbar item. When in Inventory, moves the stack of items under the mouse pointer to the corresponding hotbar slot.|
|T||Open Chat||Chat and Server commands. If pressed while the Creative mode inventory is open, it will switch to the Search tab.|
|/||Open Command||Opens the chat window with the "/" character already typed. On some keyboards (Nordic layout at least) this button might be asterisk/apostrophe (*/ ' ).|
|Tab ↹||List Players||In Multiplayer hold the Tab key to see a list of players.
When in the chat window, Tab cycles through possible commands or arguments.
|F2||Take Screenshot||Simply pressing this key will take a screenshot and place it in:
%appdata%\.minecraft\screenshots on Windows
|F5||Toggle Perspective||Toggles between first person, third person from the back and third person from the front.|
|Toggle Cinematic Camera||Toggles mouse smoothing. Looking around becomes a slow, smooth and more cinematic motion.|
|F11||Toggle Fullscreen||Toggles full-screen mode.
When using some Apple keyboards, F11 must be pressed while holding fn and ⌥option 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. After entering full-screen mode on Linux, the mouse will typically restrict the player to a single 360-degree rotation. This can be fixed by hitting ESC to release the mouse then hitting ESC again to regrab it.
Also, note that this may not respect multiple monitors and Minecraft may occupy all screens instead of the one it is active on.
|F6||Start/Stop Stream||Toggles streaming state. State shown in top right corner as a Red Icon, If there is a red icon then you are streaming and if there isn't you are not streaming.|
|F7||Pause/Unpause Stream||Toggles if streaming is paused or not.|
|Talk/Mute||Toggles microphone input while streaming.|
|Show Stream Commercials||Shows commercials while streaming.|
 Pocket Edition
 Phones and Tablets
Tablets and phones for iOS and Android use the same controls. Split-touch controls displays a crosshair like in the PC version. Split-touch controls can be toggled in Options. Tap and hold to break a block with split-touch controls, and tap to place a block. Whatever the crosshairs is over is the block that breaks when held down, or where a block is placed when tapping the screen.
|Movement||Tap forward, back, left, and right symbols on the D-pad on the screen.|
|Jump||Tap the square symbol on the screen. Also, the character will auto-jump when moving towards a block. Used for exiting Minecarts.|
|Fly||Tap the square symbol in the screen twice. Hold the square symbol, slide your finger forward to go up, slide your finger back to go down. To move forward, back, left, or right, it's the same rules as movement. You can only fly in creative mode.|
|Place Block||Tap the desired area to place the block.|
|Break Block||Hold down your finger on the desired block to break. How long it takes to break the block is indicated by a circular icon on the screen, varrying on the tool being used to break it.|
|Attack||Tap on a mob to attack it.|
|Move Camera||Slide your finger across the screen.|
|Use item||To use bone meal, flint and steel, crafting table, stonecutter, furnace, buckets, spawn eggs, plant crops, open chest, open/close doors, trapdoors or fence gates, sleep, eat cake or activate the nether reactor, tap on the desired item.
To use tools, shears, dye, throw snowballs or eggs, aim a bow, eat, breed, ignite creepers or enter Minecarts, tap and hold on the desired item.
|Screenshot||Hold the Home button and Lock at the same time (iOS) or hold Volume Down and Power at the same time (Android). Android devices will save the screenshot to your Gallery and iOS devices will save the screenshot to your Camera Roll. Only works on iOS 4.0+ and Android 4.0+|
 Xperia PLAY
|Right Bumper||Place block|
|Left Bumper||Destroy block|
|Cycle right in the hotbar|
|Cycle left in the hotbar|
|Left Touch Pad||Sneak|
|Right Touch Pad||Moves the camera|
|Menu||Open game menu|
|Touch Screen||Chat (multiplayer only). Tap to change selection in hotbar|
|Search Button||Toggle third person view|
Note: For Xperia Play owners using the gamepad, while in creative mode, the lowest two rows of items are beneath the screen, and one cannot scroll down to see them. They are still accessible, but it requires either remembering how many times one has to press the directional buttons to access them, or trial-and-error. This will hopefully be fixed soon, but is most prominent in the 4.0 update, as the amount of items has increased, and now sixteen items are hidden. The only way to see them is to turn on the option to use touch controls in the options menu.
 Xbox 360 Edition
All the controls for the Xbox 360 Edition are executed with the Xbox controller.
|Button||In-game option name||Function|
|Pause||Pause the game|
When pressed down: to sneak/walk or in Creative mode, to lower your height while flying.
|Move||To look/move; When quickly pushed forward and then moved, enables sprinting for as long as you hold it.
When pressed down: can be used to change your camera angle (toggles First Person, Second Person,and Third Person view)
|Inventory||Open up the Inventory|
|Crafting||Open up Crafting menu|
|Drop||Drop/toss an item from the quick-bar. If items are stacked, only one will be thrown/tossed/dropped.[fn 1]|
Mine/destroy blocks (Hold down); Attack (Click once); Toggle Switches/Doors (Click once).
Fire with a bow; block using a sword; use special blocks such as chests, doors, and switches; enter vehicles.
|Cycle Held Item (Right)||Cycle right in the quick-bar|
|Cycle Held Item (Left)||Cycle left in the quick-bar|
 In Crafting
|Button||In-game option name||Function|
|+ +||Pointer/Move||Move pointer/selected block/item|
|Quick Move||Quickly moves a block/item into its appropriate space|
|Split and Desc.||Take half of the highlighted stack/show information about the selected block/item|
|Exit||Exit the Crafting Table menu|
|Change Group (Right)||Changes the groups of craftable items, moving right|
|Change Group (Left)||Changes the groups of craftable items, moving left|
 Pi Edition
All of the controls in the Pi Edition are fixed and cannot be changed.
|Turning; aiming; third person camera movement.|
|Destroy blocks (hold down shortly); Move a block from the selection screen to the first hotbar slot, pushing the rest of the items one slot to the right.|
|Place blocks; Charge a bow (firing is broken).|
|Scrolls through the quick-bar.|
|Esc||Opens up or closes the menu and gives back cursor control.|
|1 - 8||Selects the appropriate quick-bar item.|
|Spacebar||Jump. When double-tapped, toggles Fly Mode. When Fly Mode is on, causes the player to gain altitude (ascend).|
|⇧ Left Shift||Sneak. When Fly Mode is on, causes the player to lose altitude (descend).|
|E||Open the list of blocks.|
|O||Release the mouse cursor from the game window without opening the pause menu.|
 Debugging controls
|F6||Beta 1.9 Pre-releases 4-5 and snapshot 12w08a||Slowly pans the camera when moving.|
|Y||Beta 1.9 Pre-release 5 and snapshot 12w08a||Zooms in camera. This and the controls below are the deadmau5 camera.|
|H||Beta 1.9 Pre-release 5 and snapshot 12w08a||Zooms out camera.|
|Y + H||Beta 1.9 Pre-release 5 and snapshot 12w08a||Resets the camera's zoom.|
|N||Beta 1.9 Pre-release 5 and snapshot 12w08a||Rotates camera Counter-Clockwise.|
|M||Beta 1.9 Pre-release 5 and snapshot 12w08a||Rotates camera Clockwise.|
|N + M||Beta 1.9 Pre-release 5 and snapshot 12w08a||Resets the camera's rotation.|
|U||Beta 1.9 Pre-release 5 and snapshot 12w08a||Pans camera forward.|
|O||Beta 1.9 Pre-release 5 and snapshot 12w08a||Pans camera backward.|
|I||Beta 1.9 Pre-release 5 and snapshot 12w08a||Slowly pans the camera up.|
|K||Beta 1.9 Pre-release 5 and snapshot 12w08a||Slowly pans the camera down.|
|J||Beta 1.9 Pre-release 5 and snapshot 12w08a||Slowly pans the camera left.|
|L||Beta 1.9 Pre-release 5 and snapshot 12w08a||Slowly pans the camera right.|
 Old Keys
Below are the list of keys which are no longer usable in the current versions of the game.
 PC version
|B||Unknown - Classic 0.30||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 0.30||Set Spawn Point in Classic Creative.|
|R||Unknown - Classic 0.30||Respawned at spawn point in Classic Creative.|
|F4||Alpha 1.2.2||Spawned a Nether portal. Used for debug by Notch and removed in Alpha 1.2.3|
|F5||Unknown - Classic 0.30||Toggled rain in Classic Creative.|
|Beta 1.8 pre-release||Moved the day/night cycle backwards and forwards, respectively (only in singleplayer).|
|Indev||On Windows, focuses on the icon of the window and freezes all of Minecraft's processes, thus stopping setting the location of the mouse to the center of the window and letting the cursor become visible, although the cursor bounds stay the same. This allows you to think twice before taking a screenshot. 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.|
|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.|
|F7||Indev 0.31 - Indev||Isometrically rendered a finite map in Minecraft Indev and 0.31 Indev.|
|Beta 1.2_02 - Beta 1.4||Called an unfinished experimental screenshot function that attempted to generate a huge 645 megapixel TGA image with a resolution of 36,450×17,700 pixels.
Pressing this key combination would cause Minecraft to either freeze for a while, displaying several clipped tiles of the current view or crash, depending on your amount of available RAM. During this time it would attempt to generate a file of 1.8 GB in size that may end up corrupt.
 Pocket Edition
|Search Button||Alpha 0.1.2||The search button used to be able to change the camera to and from third person view on all Android devices (with a search button), but now this has to be done via the pause screen, since many devices do not have a search button. The Xperia PLAY retains this functionality.|
 See also
- http://web.archive.org/web/20090520141329/http://www.mojang.com/notch/minecraft/ Archived page of Minecraft Classic from May 20th 2009
- notchtweet:28553723806490624 - Notch's Tweet about Shift+F2