Gaming · Platform not recorded

Get a Command Block in Minecraft Bedrock

Source-checked About 10 minutes

Answer

In Minecraft Bedrock, enable Activate Cheats for the world, open chat, and run `/give @p command_block`. Command blocks are obtained by command rather than crafting. Use them only in a world where you are allowed to enable cheats.

Confirm the edition

Use this procedure in Minecraft: Bedrock Edition. The linked Microsoft guide describes Bedrock command blocks, so do not assume the world-creation labels or command behavior are identical in another edition.

Choose or create a world

Open Minecraft, select Play, then choose an existing world you are permitted to change or create a new world. Use a test world if enabling cheats would affect achievements or a shared play session.

Enable cheats

In the world's settings, turn on Activate Cheats before entering the world. Microsoft lists cheats as a requirement for command blocks, so stop if the world owner does not permit this change.

Enter the world

Create or load the world and wait until the player can open chat. Keep a clear inventory slot available so the command block is easy to find after it is granted.

Open chat

Open the in-game chat control, then enter `/give @p command_block` exactly. The `@p` target gives the item to the nearest player, which is normally the player running the command in a single-player test world.

Check the inventory

Send the command and confirm that a command block appears in the inventory. Place it only when you are ready to configure it, then use the linked Microsoft guide for its command, redstone, and chain settings.

Video walkthrough

If it does not work

  • If the command is rejected, verify that Activate Cheats is enabled for this Bedrock world and that you entered the command in chat rather than a sign or command-block field.
  • If the block goes to another player in a shared world, check the `@p` target and world permissions before trying again; do not use commands against a server's rules.
Sources and verification

Checked against official documentation on . Scope: Platform not recorded.

Follow the linked first-party guidance if labels differ after a platform or app update.

Continue with

Browse more Minecraft tutorials