Adventure

Adventure mode is a game mode intended for player-created maps, limiting some of the gameplay in Minecraft. In this mode, the player cannot directly destroy any blocks with any tools or place any blocks, in order to avoid spoiling adventure maps or griefing servers. Adventure mode is only accessible with commands.

Gameplay
Adventure mode is like Survival in that players receive damage from their environment, dying is possible, and players must manage hunger, but is different in many ways as well. Most notably, blocks can only be destroyed with an item that has the CanDestroy tag, and cannot be destroyed by the player's fist. Likewise, blocks require the CanPlaceOn tag to be placed. However, players are able to make use of the environment in other ways - including interacting with mobs and other entities, turning a redstone mechanism (such as a lever) on/off, and trading with villagers. Additionally, players are able to craft items as they normally would in any other game mode. Another feature is that players will always spawn exactly on the world spawn point, no matter where it is - unlike Survival mode, where players can spawn anywhere within a certain grid.

Adventure mode is a common mode to play custom maps in, as players cannot break blocks, disallowing them to destroy the map. Also, it is often used to protect servers from griefers. Command blocks are intended for use in adventure mode gameplay.

A player can switch to Adventure mode from any other game mode by using the commands when cheats are enabled.