Gameplay

This article is about general gameplay in *Minecraft*. For instructional material, see Tutorials.
 File:Survival.png
**Gameplay** in most game modes of *Minecraft* consists mainly of adding and destroying a variety of different blocks in a randomly generated world. Except you cannot break blocks in Adventure and Spectator mode.

With these blocks, players can manipulate the world around them, building and destroying structures. As gameplay in *Minecraft* is so open and unguided, players often set their own goals and play the game as they see fit. An example of this is the *Minecraft* minigame, Spleef.

## Game modes

**This section is missing information about excessive game mode values in Bedrock Edition..**
Please expand the section to include this information. Further details may exist on the talk page.

"Gamemode" redirects here. For the command, see Commands/gamemode.
 File:Gamemodes.gif
*Minecraft* has 5 gamemodes: Survival, Creative, Adventure, Spectator‌{{#vardefine:$title|This statement only applies to {{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}

```
       {{#vardefine: edition       |{{#var: argval}} }}
               {{#vardefine: edition-s     |{{#var: edition}}}}
               {{#vardefine: edition-l     |{{#var: edition-s}} Edition}}
           {{#var: editions}} {{#var: edition-l}}
       }}
  }}{{#var: editions}} }}[*{{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}
 {{#vardefine: edition |{{#var: argval}} }}
 {{#vardefine: edition-s |{{#var: edition}}}}
 {{#vardefine: edition-l |{{#var: edition-s}} Edition}}
 {{#var: editions}} [[{{#var: linkname}}|{{#var: edition-l}}]]
 }}
 }}{{#var: editions}} only*] and Hardcore‌{{#vardefine:$title|This statement only applies to {{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval |     {{#vardefine:game-{{#var:argnum}}}}
       {{#vardefine: edition       |{{#var: argval}} }}
               {{#vardefine: edition-s     |{{#var: edition}}}}
               {{#vardefine: edition-l     |{{#var: edition-s}} Edition}}
           {{#var: editions}} {{#var: edition-l}}
       }}
  }}{{#var: editions}} }}[*{{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}
 {{#vardefine: edition |{{#var: argval}} }}
 {{#vardefine: edition-s |{{#var: edition}}}}
 {{#vardefine: edition-l |{{#var: edition-s}} Edition}}
 {{#var: editions}} [[{{#var: linkname}}|{{#var: edition-l}}]]
 }}
 }}{{#var: editions}} only*]. The "demo mode" is Survival with the --demo attribute, which defines if the game is from a trial version or not.

```

In the `level.dat` file, Survival mode is `gametype=0`, Creative is `gametype=1`, Adventure is `gametype=2`, and Spectator is `gametype=3`. Hardcore is Survival with the addition of `hardcore=1` (a normal world uses `hardcore=0` instead). This knowledge allows hacking to change game modes by editing the world's level.dat. The command `/gamemode` can be used to switch between these (except Hardcore, as it cannot be set using commands). For example, `/gamemode creative` puts the player into Creative mode.

In {{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}

```
       {{#vardefine: edition       |{{#var: argval}} }}
               {{#vardefine: edition-s     |{{#var: edition}}}}
               {{#vardefine: edition-l     |{{#var: edition-s}} Edition}}
           {{#var: editions}} [[{{#var: linkname}}|{{#var: edition-l}}]]
       }}
  }}{{#var: editions}}, a player with operator permissions on a server or cheats enabled is able to open a GUI by pressing F3 and F4, which then allows the player to cycle through the four available gamemodes available with /gamemode by pressing F4.

```

In {{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}

```
       {{#vardefine: edition       |{{#var: argval}} }}
               {{#vardefine: edition-s     |{{#var: edition}}}}
               {{#vardefine: edition-l     |{{#var: edition-s}} Edition}}
           {{#var: editions}} [[{{#var: linkname}}|{{#var: edition-l}}]]
       }}
  }}{{#var: editions}}, the gamemode can also be changed by quitting the world, going to Edit World, tapping either Creative or Survival, and then returning to the game if cheats are enabled.

```

### Survival

Main article: Survival

In this mode, players have to gather all their materials to build, craft items and tools and gain experience points. There is a health, hunger, and armor bar, an inventory, and also a oxygen bar when underwater, suffocating,‌{{#vardefine:$title|This statement only applies to {{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}

```
       {{#vardefine: edition       |{{#var: argval}} }}
               {{#vardefine: edition-s     |{{#var: edition}}}}
               {{#vardefine: edition-l     |{{#var: edition-s}} Edition}}
           {{#var: editions}} {{#var: edition-l}}
       }}
  }}{{#var: editions}} }}[*{{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}
 {{#vardefine: edition |{{#var: argval}} }}
 {{#vardefine: edition-s |{{#var: edition}}}}
 {{#vardefine: edition-l |{{#var: edition-s}} Edition}}
 {{#var: editions}} & [[{{#var: linkname}}|{{#var: edition}}]]
 }}
 }}{{#var: editions}} only*] or in lava.‌{{#vardefine:$title|This statement only applies to {{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval |     {{#vardefine:game-{{#var:argnum}}}}
       {{#vardefine: edition       |{{#var: argval}} }}
               {{#vardefine: edition-s     |{{#var: edition}}}}
               {{#vardefine: edition-l     |{{#var: edition-s}} Edition}}
           {{#var: editions}} {{#var: edition-l}}
       }}
  }}{{#var: editions}} }}[*{{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}
 {{#vardefine: edition |{{#var: argval}} }}
 {{#vardefine: edition-s |{{#var: edition}}}}
 {{#vardefine: edition-l |{{#var: edition-s}} Edition}}
 {{#var: editions}} & [[{{#var: linkname}}|{{#var: edition}}]]
 }}
 }}{{#var: editions}} only*] If a player runs out of hearts (health), the player dies and returns to the spawn point. Upon death, the player emits smoke, loses all experience and items, and a death message. Maximum reach is 5 blocks.

```

### Creative

Main article: Creative

The player has access to an infinite amount of almost all blocks and items available, and can destroy them instantly. Players are invulnerable, unless they fall into the void,‌{{#vardefine:$title|This statement only applies to {{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}

```
       {{#vardefine: edition       |{{#var: argval}} }}
               {{#vardefine: edition-s     |{{#var: edition}}}}
               {{#vardefine: edition-l     |{{#var: edition-s}} Edition}}
           {{#var: editions}} {{#var: edition-l}}
       }}
  }}{{#var: editions}} }}[*{{#vardefine: editions}}{{#vardefine:nosuffix}}{{#vardefine:nosuffix-1}}{{#vardefine:nosuffix+1}}{{#vardefine:nosuffix+2}}{{#fornumargs: argnum | argval | {{#vardefine:game-{{#var:argnum}}}}
 {{#vardefine: edition |{{#var: argval}} }}
 {{#vardefine: edition-s |{{#var: edition}}}}
 {{#vardefine: edition-l |{{#var: edition-s}} Edition}}
 {{#var: editions}} [[{{#var: linkname}}|{{#var: edition-l}}]]
 }}
 }}{{#var: editions}} only*] and do not have health, armor, or hunger, and can fly. The player has access to items not available in Survival mode, e.g. spawn eggs. The player cannot see command blocks if they look through the Creative GUI - they need to spawn command blocks with the /give or /setblock commands. Max reach is 6 blocks.

```

### Adventure

Main article: Adventure

Players can interact with objects such as levers and buttons, and can interact with mobs. However, they can break blocks only with tools having a CanDestroy data tag, and place blocks only if the block they are holding has a CanPlaceOn data tag, making this mode good for adventure maps. Max reach is 5 blocks.

### Hardcore

Main article: Hardcore

```
       {{#vardefine: edition | {{#var: argval}} Edition }}
               {{#vardefine: linkname | {{#var: edition}} }}
           {{#var: editions}} and [[{{#var: linkname}} | {{#var: edition}}]]
           }}
       {{#vardefine: categories | {{#var: categories}} [[Category: {{#var: category}} specific information]] }}

```

 }}

  File:Information icon.svg

**This feature is exclusive to {{#var: editions}}.**

 {{#var: categories}}

In this mode, which plays in the same way as Survival mode, the difficulty level is permanently set to "Hard", and when the player dies, they must either delete the map or permanently switch to Spectator mode, effectively preventing them from interacting with the world ever again.

Technically, Hardcore is a game mode modifier rather than a game mode. However, without cheating, it is possible to get only "Hardcore Survival". To obtain "Hardcore Creative" mode, the player must edit the game world with external tools, or opening to LAN, and turning on cheats. There is almost no visible difference between "Hardcore Creative" and "Non-Hardcore Creative". Because of this, "Hardcore" usually refers to "Hardcore Survival". On a server, a player who dies gets put into Spectator mode, while all other players remain in Survival mode. When looking at a Hardcore singleplayer world, the gamemode is "Hardcore Mode!" and the color is red.

Hardcore is not technically a game mode as it cannot be enabled with the `/gamemode` command.

### Spectator

Main article: Spectator

```
       {{#vardefine: edition | {{#var: argval}} Edition }}
               {{#vardefine: linkname | {{#var: edition}} }}
           {{#var: editions}} and [[{{#var: linkname}} | {{#var: edition}}]]
           }}
       {{#vardefine: categories | {{#var: categories}} [[Category: {{#var: category}} specific information]] }}

```

 }}

  File:Information icon.svg

**This feature is exclusive to {{#var: editions}}.**

 {{#var: categories}}

When in Spectator mode, players can clip through blocks, enter the perspective of other entities by left-clicking on them, and are invisible to all players and mobs except for other spectators. The player can't interact with blocks, entities or their inventory. When in third-person mode, they look like a transparent, floating head with no body. The player can use the scroll wheel to adjust the speed at which they are flying, unlike flying in Creative mode.

### Table of game modes

Below is a brief summary of the different available features in each game mode.

1. ↑ The demo allows gameplay of only the Survival gamemode without a premium account, and only in singleplayer. This does have a time limit though.
2. ↑ 2.0 2.1 In Creative or in Spectator, health is still there but hidden from GUI, the player can show this by falling into the void.
3. ↑ 3.0 3.1 In Survival, there are methods to obtain unlimited amounts of specific renewable resources such as logs, cobblestone, and water. In addition, the vast map area allows one to gather plenty of anything with enough effort.
4. ↑ 4.0 4.1 Hunger mechanics are implemented, but kill the player only if the difficulty is set to Hard mode and do not affect players on Peaceful.
5. ↑ Only available through external tools and in an incomplete state.

## Video

*Note: This video is outdated, as Spectator mode was added after this video's release.*{{ #vardefine: $lang-list | {{ #dplreplace:
/ ar
/ ca / cz
/ dk
/ el / eo / et
/ fa / fin
/ ga
/ he / hr
/ id / is
/ lv / lt
/ moh
/ no
/ pt / ph
/ ro
/ sr / sk / se
/ th / tl / tr
/ ua
/ vi
/ yi
/
}}

{{ #vardefine: $lang-list | {{ #dplreplace:

/ ar
/ ca / cz
/ dk
/ el / eo / et
/ fa / fin
/ ga
/ he / hr
/ id / is
/ lv / lt
/ moh
/ no
/ pt / ph
/ ro
/ sr / sk / se
/ th / tl / tr
/ ua
/ vi
/ yi
/
}}

de:Minecraft#Gameplay
es:Modo de juego
fr:Gameplay
hu:Játékmenet
it:Gameplay
ja:ゲームプレイ
ko:게임플레이
nl:Gameplay
pl:Tryby gry
pt:Jogabilidade
ru:Игровой процесс
th:เกมการเล่น
tr:Oynayış
uk:Ґеймплей
zh:游戏内容