Barrier Wiki Guide
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.
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
Minecraft Java Edition (PC/Mac)
In Minecraft, a barrier has the following Name, ID and DataValue:
Description (Minecraft ID Name) |
Data Value | Stack Size | Platform | Version(s) |
---|---|---|---|---|
Barrier (minecraft: |
0 | 64 | Java | 1.8 – 1.12 |
Barrier (minecraft: |
64 | Java | 1.13 – 1.19.4 |
- 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
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 and 1.19.4, 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
Command Examples
Here are some game command examples for a barrier in Minecraft:
How to Give a Barrier