Have you ever thought, "I can't find a command block even in Creative mode" in Minecraft?
This article explains how to get and use command blocks in Minecraft Bedrock Edition (including Switch support).
I am introducing this in an easy-to-understand way for both game beginners and others, using the simple method I use when playing with my elementary school-aged child.
Updated: 9/27/2025
Compatible with Switch, PS4, and Win10 Bedrock editions
These are the syntaxes available as of 9/27/2025. Please feel free to copy and use them.
■ What is a Command Block?
A command block is a special type of block.
You can register the same commands that you would normally type into the chat directly into the block.
It is also a block that can be set to run automatically, or triggered by levers or redstone signals.
Although this is introduced for the Bedrock edition, the operations are almost the same for the Java edition, so please use this as a reference.
■ How to get a Command Block
・Change Minecraft settingsTo get and use a command block, you need to change your settings.
Check "Activate Cheats" and "Command Blocks Enabled" in your Minecraft settings and make sure both are turned ON (enabled).
・Get a command blockA command block is an item that can only be obtained via commands.
Enter the following command from the chat screen to get one.
On Switch, press the "Right D-Pad button," and on PC, press "T" or "/" to open the chat.
/give @s command_block
・"give" is a command to give an item
・"@s" refers to the user who executed the command
・"command_block" refers to the command block itself
For Java Edition users, please use the following command:
/give @s minecraft:command_block
By executing this command, you will receive a command block.
The command block will be added to your inventory.
■ How to configure a command block
・Placing a command blockPlace the command block you obtained in your inventory anywhere you like.
Since the effective range of a command block is determined by where it is placed, you should set it up near the location where you intend to use it.
・Command block settings menuPress the button again after placing the command block to display the settings screen.
In the menu on the left, you can configure the following three settings:
・Block type
・Condition
・Redstone
■ You can choose from three types of blocks.
・ "Impulse": Executes once when switched on by a lever or redstone.
・ "Chain": Used when connecting command blocks; executes after the previous block has executed.
Repeat: Executes repeatedly when switched on by a lever or redstone.
※ Until the names were changed in the 1.2 update, Impulse was displayed as "Impulse", Chain as "Chain", and Repeat as "Repeat".
■ You can choose from two conditions.
・ "Conditional": Executes only when the previous block's execution result is successful.
・ "Unconditional": Executes without any conditions.
■ You can choose from two redstone settings.
・ "Always Active": Executes constantly without a lever or redstone switch.
・ "Needs Redstone": Executes when a lever or redstone switch is turned on.
There is a place to enter commands in the upper right of the settings screen.
※ Inside the red circle in the image below
If you are entering many commands, press the button to the right of the red circle to enlarge the input screen.
That is all for the settings.
[Official Minecraft Mob Encyclopedia]
Includes a size chart for all mobs! Packed with valuable information only available from official sources!
■ How to use Command Blocks
Now, I will introduce the basic operation methods for how to actually use them.
For this example, I will explain using a command to change the weather.
First, change the settings as follows:
"Block Type": Impulse
"Condition": Unconditional
"Redstone": Needs Redstone
Next, enter the following command.
※ This is the command to make the weather rainy
weather rain
"weather" refers to the weather, and "rain" refers to rain.
Since I set "Redstone" to "Needs Redstone," I will attach a "Lever" this time.
First, search for a lever in your inventory and hold it.
Attach the lever to the command block.
Now, let's activate the lever.
With just this, you have successfully changed the weather to rain.
Since we're at it, let's create a command block that changes the weather from "rain" to "clear."
Set the settings on the left the same as when you set it to rain.
Enter the following command.
weather clear
* "weather" refers to the weather, and "clear" is the instruction to make it sunny.
Attach a lever in the same way and activate it.
Then, the weather will change to clear.
Once you have created it, you can use it whenever you want to change the weather. There is no need to wait for the weather to change.
The content of this article is also explained in a video.
I explain it slowly while showing the screen, so if you found it difficult to understand with just the article, please take a look at this as well.
■ [Minecraft] How to get and use command blocks
You can also enter and use various other commands.
Please give it a try.
If you like, it would encourage me if you could also press the "Like" button!
I will continue to update information related to Minecraft (Bedrock Edition).
<Recommended Articles>
[Minecraft] Explaining how to ride an Ender Dragon in Bedrock Edition (Switch compatible) - Introducing commands!
I am introducing how to make an easy "Splatoon-style mini-game" in Minecraft Bedrock Edition.
I am sharing my track record of streaming Minecraft videos on YouTube.
This is the data up to 1,000 channel subscribers!