Minecraft Wiki
Advertisement
Dark Oak Sapling
This article is a stub. 
You can help by expanding it.
Crafting Table
This article describes content that may be included in a future update. 
This content has appeared in development versions, but the full update containing it has not been released yet.

The Command Block is a block that will be added in a future update. It is being made with the intent to support Adventure mode and will allow mapmakers to expand the interaction with the player through server commands. The block can run specified server commands when activated by redstone current. Considering its functionality, they will not be able to be crafted[1] and only administrators will be able to place them.[2]

Usage

The Command Block will execute server commands like giving items or experience to a player.[3]

To change the command executed by the block, simply right-click it, and a GUI will open.

When changing the gamemode, use the command format

/gamemode [survival:creative:adventure] [playername or @p]

So for example, to change the mode to survival for the player who activates the block:

/gamemode survival @p

History

  • On July 27th, 2012, Jeb began tweeting of a new block he had created to start expanding Adventure mode.[4] He began posting pictures, ideas and hints of what the block will be able to do.
  • During Notch's AMA he hints the block may be in 1.4[5]

Gallery

References

Advertisement