Kodeclik Blog


How to get a barrier block in Minecraft

Barrier blocks are one of minecraft’s most hidden and undiscovered blocks. Even so, they are far more useful than you might think. This blog post will highlight everything there is to know about barrier blocks and how to get them.
Like command blocks, the only way to get barriers is through commands. Open the chat window in Minecraft by pressing “t” and type the following command: “/give @s barrier”. If you need more than one barrier, add a space to the above command and type the needed number (e.g. /give @s barrier 64). Unlike command blocks however, barriers can be placed in survival mode.

What do barrier blocks do?

Barrier blocks are invisible blocks but act as full ones. If you were to walk into a barrier block, you would be stopped, even though the block itself is invisible. The only indication that a barrier block exists in a world is the outline of the block that appears when your mouse hovers over it. Barrier blocks cannot be broken in survival mode; either by tools or explosions.
Fun Fact: If placed against a block, barriers can replace water giving way for some interesting builds!

How can I use barrier blocks?

Barrier blocks are a fun way to trick your friends. You can use them to prevent your friend from making an easy jump or to make an invisible maze. You can also amaze your friends by seemingly standing on air in survival mode. Remember that barriers apply to you, even in creative mode!
If you are interested in more Minecraft content, checkout our Minecraft glossary, what horses eat in Minecraft, how to get scutes, making pumpkin pie, getting a hoe, villagers opening doors, getting Acacia wood, and our blogpost on how to kill mobs in Minecraft. You might also like our blogpost on Minecraft Player-vs-Player mode of gameplay. Also checkout and participate in Kodeclik's Minecraft Settlement Creation contest. Also learn about Minecraft MLG.
Want to learn Minecraft modding? Checkout Kodeclik's 1:1 and small group classes.

Join our mailing list

Subscribe to get updates about our classes, camps, coupons, and more.
  • ABOUT

Copyright @ Kodeclik 2022. All rights reserved.