How to make a Barrier in Minecraft
This Minecraft tutorial explains how to craft a barrier with screenshots and step-by-step instructions.
In Minecraft, a barrier is an invisible block that players can not go through. It is an item that you can not make with a crafting table or furnace and it is not available through the Creative Inventory menu. You can only add a barrier to your inventory using a game command.
Let's explore how to add a barrier to your inventory.
Supported Platforms
A barrier is available in the following versions of Minecraft:
Platform | Supported (Version*) |
Java Edition (PC/Mac) | Yes |
Pocket Edition (PE) | Yes (1.6.0) |
Xbox 360 | No |
Xbox One | Yes (1.6.0) |
PS3 | No |
PS4 | Yes (1.14.0) |
Wii U | No |
Nintendo Switch | Yes (1.6.0) |
Windows 10 Edition | Yes (1.6.0) |
Education Edition | Yes (1.7.0) |
* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.
Where to find a Barrier in Creative Mode
A barrier is not available in the Creative Inventory menu. You must use a game command such as the /give command to add this item to your inventory.
Item ID and Name
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Minecraft Pocket Edition (PE)
In Minecraft, a barrier has the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Barrier (minecraft:barrier) |
0 |
64 |
PE |
1.6.0 - 1.20.50 |
Minecraft Xbox One
In Minecraft, a barrier has the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Barrier (minecraft:barrier) |
0 |
64 |
Xbox One |
1.6.0 - 1.20.50 |
Minecraft PS4
In Minecraft, a barrier has the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Barrier (minecraft:barrier) |
0 |
64 |
PS4 |
1.14.0 - 1.20.50 |
Minecraft Nintendo Switch
In Minecraft, a barrier has the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Barrier (minecraft:barrier) |
0 |
64 |
Switch |
1.6.0 - 1.20.50 |
Minecraft Windows 10 Edition
In Minecraft, a barrier has the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Barrier (minecraft:barrier) |
0 |
64 |
Windows |
1.6.0 - 1.20.50 |
Minecraft Education Edition
In Minecraft, a barrier has the following Name, ID and DataValue:
Item |
Description (Minecraft ID Name) |
Data Value |
Stack Size |
Platform |
Version(s) |
|
Barrier (minecraft:barrier) |
0 |
64 |
Education |
1.7.0 - 1.18.32 |
Definitions
- Description is what the item is called and (Minecraft ID Name) is the string value that is used in game commands.
- Data Value (or damage value) identifies the variation of the block if more than one type exists for the Minecraft ID.
- Stack Size is the maximum stack size for this item. While some items in Minecraft are stackable up to 64, other items can only be stacked up to 16 or 1. (NOTE: These stack sizes are for vanilla Minecraft only. If you are running a mod, some mods may change the stack size for an item.)
- Platform is the platform that applies.
- Version(s) is the Minecraft version numbers that the Minecraft ID and Name are valid for.
Give Command for Barrier
- Java
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Give Command in Minecraft Java Edition (PC/Mac)
In Minecraft Java Edition (PC/Mac) 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, 1.20 and 1.20.3, the /give command for Barrier is:
/give @p barrier 1
In Minecraft Java Edition (PC/Mac) 1.8, 1.9, 1.10, 1.11 and 1.12, the /give command for Barrier is:
/give @p barrier 1 0
Give Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE) 1.12.0, 1.13.0, 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0 and 1.20.50, the /give command for Barrier is:
/give @p barrier 1 0
Give Command in Minecraft Xbox One
In Minecraft Xbox One 1.12.0, 1.13.0, 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0 and 1.20.50, the /give command for Barrier is:
/give @p barrier 1 0
Give Command in Minecraft PS4
In Minecraft PS4 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0 and 1.20.50, the /give command for Barrier is:
/give @p barrier 1 0
Give Command in Minecraft Nintendo Switch
In Minecraft Nintendo Switch 1.12.0, 1.13.0, 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.1, 1.20.0 and 1.20.50, the /give command for Barrier is:
/give @p barrier 1 0
Give Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition 1.12.0, 1.13.0, 1.14.0, 1.16.0, 1.17.0, 1.18.0, 1.19.0, 1.20.0 and 1.20.50, the /give command for Barrier is:
/give @p barrier 1 0
Give Command in Minecraft Education Edition
In Minecraft Education Edition 1.12.0, 1.12.60, 1.14.31, 1.17.30 and 1.18.32, the /give command for Barrier is:
/give @p barrier 1 0
Command Examples
Here are some game command examples for a barrier in Minecraft: