Share

Share

Controls

From Minecraft Wiki
Jump to: navigation, search

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.

Computer[edit]

Non-configurable controls[edit]

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.

Default Function
Mouse Move Turning; aiming; third person camera movement.
Mouse Wheel Scroll 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.

  • Shows tool and armor durability on damaged items
  • Displays the level of a map

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[edit]

Default In-game option name Function
Left click Attack/Destroy Destroy blocks (hold down); Attack (click once); Split a stack evenly (hold and drag); sort loose items into one stack (double-click)
Right 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 or dye a 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, eating cake, starting a furnace minecart.

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.

Middle click 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.
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).

When sneaking, right-clicking places objects like Levers onto blocks that would usually open an internal inventory, such as Dispensers.

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
~/Library/Application Support/minecraft/screenshots in OS X
~/.minecraft/screenshots in Linux.

Highlight Players (Spectators) Highlights players in Spectator mode.
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.


Video[edit]

Pocket Edition[edit]

Phones and Tablets[edit]

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.

Function Action
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, tame, ignite creepers or enter Minecarts, tap and hold on the desired item or, with certain actions, scroll onto entity and tap the interaction button.
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[edit]

Key Function
Right Bumper Place block
Left Bumper Destroy block
PlayStationTriangle.svg Open inventory
PlayStationCircle.svg Cycle right in the hotbar
PlayStationX.svg Jump
PlayStationSquare.svg Cycle left in the hotbar
Directional Keys Movement
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[edit]

All the controls for the Xbox 360 Edition are executed with the Xbox controller.

Gameplay[edit]

Button In-game option name Function
Start button Pause Pause the game
Right analog stick Look To look/move;

When pressed down: to sneak/walk or in Creative mode, to lower your height while flying.

Left analog stick 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)

A button Jump Jump
Y button Inventory Open up the Inventory
X button Crafting Open up Crafting menu
B button Drop Drop/toss an item from the quick-bar. If items are stacked, only one will be thrown/tossed/dropped.[fn 1]
Right trigger Mine Destroy Blocks;
Mine/destroy blocks (Hold down); Attack (Click once); Toggle Switches/Doors (Click once).
Left trigger Place Place Blocks;
Fire with a bow; block using a sword; use special blocks such as chests, doors, and switches; enter vehicles.

Also: Eat food, hoe farmland, shear sheep

Right bumper Cycle Held Item (Right) Cycle right in the quick-bar
Left bumper Cycle Held Item (Left) Cycle left in the quick-bar
  1. There is no actual "throw" command; "drop" (default B button) will toss an object approximately 2 to 3 blocks from you. Eggs and Snowballs can be thrown by the "use" command (default Left trigger). The eggs and snowballs fly in an arc.

In Crafting[edit]

Button In-game option name Function
Left analog stick + Right analog stick + D-Pad Pointer/Move Move pointer/selected block/item
A button Craft Create item
Y button Quick Move Quickly moves a block/item into its appropriate space
X button Split and Desc. Take half of the highlighted stack/show information about the selected block/item
B button Exit Exit the Crafting Table menu
Right bumper Change Group (Right) Changes the groups of craftable items, moving right
Left bumper Change Group (Left) Changes the groups of craftable items, moving left

Pi Edition[edit]

All of the controls in the Pi Edition are fixed and cannot be changed.

Action Function
Mouse Move Turning; aiming; third person camera movement.
Left click 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.
Right click Place blocks; Charge a bow (firing is broken).
Mouse Wheel Scroll 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.
W Move forward.
A Strafe left.
S Move backward.
D Strafe right.
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[edit]

These controls are used for debugging and were unintentionally left in-game in Beta 1.9 Pre-releases 4-5 and snapshot 12w08a.[1][2] The controls below F6 are called the "deadmau5 camera".[3]

Key Versions appeared Function
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.[1] This and the controls below are the deadmau5 camera.[3]
H Beta 1.9 Pre-release 5 and snapshot 12w08a Zooms out camera.[1]
Y + H Beta 1.9 Pre-release 5 and snapshot 12w08a Resets the camera's zoom.[1]
N Beta 1.9 Pre-release 5 and snapshot 12w08a Rotates camera Counter-Clockwise.[1]
M Beta 1.9 Pre-release 5 and snapshot 12w08a Rotates camera Clockwise.[1]
N + M Beta 1.9 Pre-release 5 and snapshot 12w08a Resets the camera's rotation.[1]
U Beta 1.9 Pre-release 5 and snapshot 12w08a Pans camera forward.[1]
O Beta 1.9 Pre-release 5 and snapshot 12w08a Pans camera backward.[1]
I Beta 1.9 Pre-release 5 and snapshot 12w08a Slowly pans the camera up.[1]
K Beta 1.9 Pre-release 5 and snapshot 12w08a Slowly pans the camera down.[1]
J Beta 1.9 Pre-release 5 and snapshot 12w08a Slowly pans the camera left.[1]
L Beta 1.9 Pre-release 5 and snapshot 12w08a Slowly pans the camera right.[1]

Old Keys[edit]

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

PC version[edit]

Key Versions used Function
B Unknown - Classic 1.8.1 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 1.8.1 Set Spawn Point in Classic Creative.
R Unknown - Classic 1.8.1 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 1.8.1 Toggled rain in Classic Creative.
F6
and
F7
Beta 1.8 pre-release Moved the day/night cycle backwards and forwards, respectively (only in singleplayer).
F10
or
Left Alt
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.
⇧ Shift
+
F2
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.[5]

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[edit]

Key Versions used Function
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[edit]

References[edit]

  1. a b c d e f g h i j k l m
  2. a b
  3. http://web.archive.org/web/20090520141329/http://www.mojang.com/notch/minecraft/ Archived page of Minecraft Classic from May 20th 2009