Video Summary
In this tutorial, I show you how to obtain command blocks in both Java and Bedrock editions of Minecraft using the /give command with the appropriate command block variants (command_block, repeating_command_block, and chain_command_block). I also explain the different command block settings like conditional, needs redstone, and always active modes, and demonstrate how to disable command block output messages using the /gamerule command_block_output false command. This guide is designed to help both new and experienced players understand command blocks and their various configurations for creating custom commands and redstone contraptions.
“`html
How to Get Command Blocks in Minecraft! (Java & Bedrock)
Hey everybody, it’s UnderMyCap and welcome back to another video! Today I’m going to be showing you how to get command blocks in Minecraft. Now, if you’ve been with me for a long time on this channel, you’ll know I’ve done a lot of command tutorials and have shown you all how to get command blocks — but if you’re simply new to command blocks or you don’t know how to get them, trust me, I’ve got you sorted!
This guide will work for both Bedrock and Java Edition. The commands shown here will work perfectly in both versions of the game, so no matter which platform you’re playing on, you’re covered.
If you’d prefer to watch the video version of this tutorial, you can check it out here: How to Get Command Blocks in Minecraft – Java + Bedrock
Getting Your First Command Block
First things first — just like a normal command block, we’re going to be using the command terminal to obtain one. Unfortunately, you can’t find command blocks in the building blocks menu by searching for them, so the command terminal is the way to go. The command you’ll need is the give command, which looks like this:
/give @s command_block
As soon as you hit enter on your keyboard, you’ll be given the command block and you’ll be able to place it straight away. Please note that you do need to have cheats enabled for this to work. If you don’t have cheats on, you can enable them through your world settings. Once you have it, you can place command blocks and open them just like any other block.
Getting Repeating and Chain Command Blocks
You’re probably wondering how to get the Repeating and Chain command blocks as well — and it’s just as simple! Head back to the command terminal and use the same give command, just replacing the block name. For the repeating command block, use:
/give @s repeating_command_block
And for the chain command block, use:
/give @s chain_command_block
With those three commands, you’ll have the regular (orange/yellow), repeating (purple), and chain (green) command blocks all ready to go.
Understanding Command Block Settings
Of course, you don’t always need to give yourself all three types separately. If you’re working with repeating or chain blocks, you can simply place a regular command block on the ground and change its type from within the interface itself. There are also a couple of important settings inside the command block that are worth understanding.
The Conditional/Unconditional setting is mainly relevant if you’re working with execute commands or more advanced command setups. For now, it’s best to leave it on Unconditional. The Needs Redstone / Always Active setting controls whether your command block requires a redstone signal to activate. If you set it to Needs Redstone on an Impulse command block and attach a button, it will trigger the command once each time you press the button. If you switch it to Always Active, the command will run continuously without needing any redstone at all. This same behaviour applies to the Repeating command block — with Always Active enabled, it will loop your command non-stop.
Hiding Command Block Output in Chat
One of the most common questions I get asked is how to get rid of the text that appears in the corner of your screen when a command block runs. The good news is it’s really simple to fix! Just type the following into your chat or command terminal:
/gamerule commandBlockOutput false
This works on both Java and Bedrock Edition. Once you enter that command and the existing text fades away, your chat will no longer get spammed every time a command block runs — which is incredibly useful, especially when working with repeating command blocks!
What’s Next?
This has been a quick and simple tutorial designed to help you get your hands on command blocks and understand the basics of how they work. All of the other command tutorials on my channel use these blocks, so now that you know how to get them, you’re ready to dive into everything else! If you’d like to learn how to use particles, the playsound command, the execute command, and more, be sure to check out the rest of my channel.
If you found this helpful, a like and a subscribe would be greatly appreciated — we’re getting really close to 10K and it’s just so exciting! Thank you so much for reading, and I can’t wait to see you in the next one!
“`




