How to Get Barrier Blocks in Minecraft: A Step-by-Step Guide

If you’re an avid Minecraft player, you know that the game offers endless possibilities for building and creating. However, protecting your creations from other players or mobs can be a challenge. That’s where barrier blocks come in handy. Barrier blocks are special blocks that cannot be interacted with by players or mobs, making them perfect for creating boundaries, obstacles, and other unique structures. In this article, we’ll explore how to get barrier blocks in Minecraft using a command block.

Enabling Cheats

Before we dive into the steps for getting barrier blocks, you need to enable cheats in your game settings. To do this, open your game menu and select “Open to LAN.” From there, you can enable cheats for the game.

Getting Barrier Blocks

Once you’ve enabled cheats, you’re ready to get barrier blocks in Minecraft. Follow these simple steps:

  1. Open Minecraft and start a new world or load an existing one.
  2. Press the “T” key to open the chat window.
  3. Type the command “/give @s barrier” into the chat window.
  4. If you want more than one barrier block, add a specific number to the command as shown here: “/give @s barrier 25”
  5. Press “Enter” to execute the command.
  6. The Barrier Block will be added to your inventory. To place it, select it in your inventory and right-click on the location where you want to place it. Note that Barrier Blocks can only be placed in Creative mode.

Tips for Using Barrier Blocks

Now that you know how to get barrier blocks in Minecraft, let’s explore some tips for using them effectively:

Create boundaries and obstacles – Use barrier blocks to create walls, fences, and other barriers that prevent mobs or other players from entering specific areas.

Protect important items and resources – Use barrier blocks to protect chests, valuable resources, and other items from being stolen by other players.

Prevent entities from entering specific areas – Use barrier blocks to prevent mobs or other entities from entering designated regions, such as spawn points or protected areas.


Barrier blocks are an essential tool for any Minecraft player looking to protect their creations or resources. By using the “/give” command in the chat window, you can easily add barrier blocks to your inventory and start building. Remember to enable cheats before getting started, and experiment with different ways to use barrier blocks to enhance your gameplay experience.

YouTube player

Leave a Comment