The Barrier Block icon
|Type of Block||Solid Block|
|Data Values||Hex: A6|
| Come on! Grow up!
This article is a stub. You can help by
A Barrier is a PC-exclusive invisible block that can serve as a better alternative for Bedrock, as it is indestructible. When a player is in Creative Mode and they are holding a barrier block in their hand, every barrier block placed will display a red circle with a slash since it is a client-side particle. The range of this effect is limited to the regular range of particles, and it only becomes visible to a player holding the barrier block.
Like a few blocks, such as the command block, the barrier block can only be obtained via commands. By doing the command:
/give @p minecraft:barrier <amount> (putting minecraft: is optional) will give a player the amount of barrier blocks put in the command. Barrier blocks are unobtainable in Survival unless "cheats" are enabled and used.
- It is one of only three types of blocks that are invisible to a player in-game, the other blocks being Air and Structure Void.
- The barrier block can help a "map builder" "design" a world. For example, they can use the block to restrict players from entering a specific area unless a player is in creative mode.