Barrier is an invisible block used to create solid boundaries.
Barriers can be obtained only using commands such as
/item[Java Edition only], and
/replaceitem[Bedrock Edition and Minecraft Education only], and cannot be broken in survival mode.
In Java Edition, barriers are available in the creative inventory.
In normal world, barriers don't generate naturally. They only generate in debug mode worlds, where barriers generate as the floor.[Java Edition only]
Barrier blocks are mainly used to build an impenetrable barrier that cannot be broken in standard survival mode play but can be placed in survival. For example, they can be used to protect a reserved area from entry by players, mobs, and other entities. Unlike other kinds of unbreakable blocks that could be used for this purpose (such as bedrock), barrier blocks are unobtrusive because they are invisible. Barrier blocks cannot be destroyed by TNT, creeper explosions, or any other explosions.
In the player's inventory, the block is displayed as a red box with a slash through it, but when placed it is completely invisible.
Barriers are transparent to light and do not block a beacon. Fences, iron bars, glass panes, and similar blocks do not visually connect with barriers. Barriers interact with blocks and mobs as a solid block. All dependent blocks can be placed on a barrier, such as torches or redstone, and it can suffocate mobs. Mobs cannot spawn on barriers. The red cross texture, however, is revealed as particle effects when falling or sprinting on them, regardless of what game mode the player is in.
In Creative mode, if a player is holding a barrier block in their hand, all placed barrier blocks display the barrier icon as a particle. This effect is client-side, and if a player holds a barrier block in survival, the particle does not appear. Barrier blocks are not shown if the particle setting is set to "minimal". Furthermore, they have a greater amount of blast resistance than any other unbreakable block.
Barrier blocks can be waterlogged by being placed into water source blocks.[Bedrock Edition only] See waterlogging for more details on what blocks can be waterlogged.
Barrier blocks are the most resistant blocks in Minecraft.
Barriers cannot be pushed by pistons. They also cannot be pushed nor pulled by sticky pistons.
|Sound||Subtitles||Source||Description||Resource location||Translation key||Volume||Pitch||Attenuation|
|Block broken||Blocks||Once the block has broken||1.0||0.8||16|
|Block placed||Blocks||When the block is placed||1.0||0.8||16|
|Block breaking||Blocks||While the block is in the process of being broken||0.25||0.5||16|
|None[sound 1]||Entity-Dependent||Falling on the block with fall damage||None[sound 1]||0.5||0.75||16|
|Footsteps||Entity-Dependent||Walking on the block||0.15||1.0||16|
|Blocks||Once the block has broken||1.0||0.8-1.0|
|Blocks||When the block is placed||1.0||0.8-1.0|
|Blocks||While the block is in the process of being broken||0.37||0.5|
|Players||Falling on the block with fall damage||0.4||1.0|
|Players||Walking on the block||0.3||1.0|
|Players||Jumping from the block||0.12||1.0|
|Players||Falling on the block without fall damage||0.22||1.0|
|Name||Identifier||Form||Block tags||Translation key|
|Barrier||Block & Item|
|Name||Identifier||Numeric ID||Form||Item ID[i 1]||Translation key|
|Barrier||Block & Giveable Item[i 2]||Identical[i 3]|
|1.8||January 30, 2014||Grum posted about an invisible block.|
|14w06a||Barriers now use block of redstone breaking particles instead of lava.|
|A barrier particle effect has been added to the particle command. With this, the player can now see where there are barriers.|
|14w06b||Barriers are now visible when holding the item in creative mode.|
|14w20a||Withers and ender dragons can no longer break barriers.|
|14w25a||The barrier no longer has an item model.|
|Barriers now display the missing texture as a particle when held.|
|Barriers now also use the missing texture for usual block particles, for example when broken.|
|14w25b||The barrier has an item model again.|
|Barriers now display the expected texture as a particle when held.|
|14w26a||Barriers now use the barrier item texture for particles, fixing the missing texture use.|
|release||Barriers can now be broken by withers, once again.|
|1.8.1||pre3||Withers no longer break barriers.|
|1.13||17w47a||Prior to The Flattening, this block's numeral ID was 166.|
|1.14||18w43a||The texture of barriers has been changed.|
|1.17||21w20a||Barriers are now revealed by save-mode structure blocks.|
|1.19.3||22w42a||Barriers no longer emit block particles when broken.|
|22w44a||Barriers are now available in the creative inventory, but only if cheats are enabled.|
|22w45a||Moved barriers behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.|
|1.6.0||beta 126.96.36.199||Added barriers.|
|1.10.0||beta 188.8.131.52||The texture of barriers has been changed.|
|Legacy Console Edition|
|TU31||CU19||1.22||Patch 3||Added barriers.|
|PlayStation 4 Edition|
|1.90||The texture of barriers has been changed.|
Issues relating to "Barrier" are maintained on the bug tracker. Report issues there.
- The symbol used is not compliant with ISO 3864-1, as the diagonal line is mirrored.
- Invisible bedrock, a technical block in Bedrock Edition, shares many features with the barrier block.
- The barrier's vanilla block model defines only what texture to use for block breaking particles, and doesn't have a parent model or anything that would give the block a physical shape.
- Barriers are hardcoded to not render any block model.
Barriers in debug mode.