Skip to content
Minecraft Command List

Give a Command Block

Get a command block (it isn't in the creative menu)

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Command blocks are hidden from Creative mode inventories — this is the only vanilla way to obtain one. Once given, place the block on the ground and right-click (Java) or tap (Bedrock) to open the interface and type commands. Powered by redstone or by always-active conditional modes.

/give @p command_block
22 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command.
  3. Press Enter — the command block lands in your inventory.
  4. Place it in the world and right-click to program it with your desired command.

Related commands

Get a netherite pickaxe with Silk Touch

/give @p netherite_pickaxe[enchantments={silk_touch:1}]

Get a beacon block without defeating the Wither

/give @p beacon
Give a Name Tag
Give a Name Tag Awaiting in-game verification
Both

Get a name tag to name mobs

/give @p name_tag
Give a Shulker Box
Give a Shulker Box Awaiting in-game verification
Both

Get portable storage with 27 slots

/give @p purple_shulker_box
Give a Spyglass
Give a Spyglass Awaiting in-game verification
Both

Get a telescope for zoom vision

/give @p spyglass

Get a pair of elytra wings

/give @p elytra