The Barrier is an invisible block that can serve as a better alternative for bedrock, replaced by "Invisible Bedrock" (Bedrock Edition), as it is indestructible. When a player is in Creative and they are holding a barrier block in their hand, every barrier block placed will display a red circle with a slash since it's 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. It has the characteristics of Bedrock, with a -1 hardness, but 3 points tougher than the former.
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 number 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.
- It's one of the only transparent blocks in Minecraft.
- This is the toughest block in Minecraft, with the second toughest being Bedrock.