Rarity color |
Epic |
---|---|
Renewable |
No |
Stackable |
Yes (64) |
Tool |
None |
Blast resistance |
∞ |
Hardness |
∞ |
Luminant |
No |
Transparent |
Partial (lets light pass through) |
Flammable |
No |
Catches fire from lava |
No |
A barrier is an invisible block used to create solid boundaries.
Contents
Obtaining[]
Like command blocks, jigsaw blocks and structure blocks, barriers can be obtained only using commands such as /give
, are not available in the creative inventory, and cannot be broken in survival mode.
Natural generation[]
In debug mode worlds, barriers generate as the floor.[Java Edition only]
Usage[]
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 gamemode 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.
Piston interactivity[]
Barriers cannot be pushed by pistons. They also cannot be pushed nor pulled by sticky pistons.
Sounds[]
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
Block broken | Blocks | Once the block has broken | block.stone.break | subtitles.block.generic.break | 1.0 | 0.8 | 16 | |
None[sound 1] | Blocks | Falling on the block with fall damage | block.stone.fall | None[sound 1] | 0.5 | 0.75 | 16 | |
Block breaking | Blocks | While the block is in the process of being broken | block.stone.hit | subtitles.block.generic.hit | 0.25 | 0.5 | 16 | |
Block placed | Blocks | When the block is placed | block.stone.place | subtitles.block.generic.place | 1.0 | 0.8 | 16 | |
Footsteps | Blocks | Walking on the block | block.stone.step | subtitles.block.generic.footsteps | 0.15 | 1.0 | 16 |
Sound | Source | Description | Resource location | Volume | Pitch |
---|---|---|---|---|---|
Blocks | Once the block has broken | dig.stone | 1.0 | 0.8 | |
Blocks | Falling on the block with fall damage | fall.stone | 0.4 | 1.0 | |
Blocks | While the block is in the process of being broken | hit.stone | 0.37 | 0.5 | |
? | Blocks | Jumping from the block | jump.stone | 0.12 | 1.0 |
? | Blocks | Falling on the block without fall damage | land.stone | 0.22 | 1.0 |
Blocks | Walking on the block | step.stone | 0.3 | 1.0 | |
Blocks | When the block is placed | use.stone | 1.0 | 0.8 |
Data values[]
ID[]
Name | Identifier | Form | Block tags | Translation key |
---|---|---|---|---|
Barrier | barrier | Block & Item | dragon_immune wither_immune | block.minecraft.barrier |
Name | Identifier | Numeric ID | Form | Item ID[i 1] | Translation key |
---|---|---|---|---|---|
Barrier | barrier | 416 | Block & Giveable Item[i 2] | Identical[i 3] | tile.barrier.name |
History[]
Java Edition | |||||
---|---|---|---|---|---|
1.8 | January 30, 2014 | Grumm posted about an invisible block. | |||
14w05a | ![]() | ||||
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 | ![]() | ||||
![]() | |||||
Barriers now also use the missing texture for usual block particles, for example when broken. | |||||
14w25b | The barrier has an item model again.[1] | ||||
Barriers now display the expected texture as a particle when held.[1] | |||||
14w26a | Barriers now use the barrier item texture for particles, fixing the missing texture use.[2] | ||||
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 | ![]() | |||
1.16 | 20w16a | Added bastion remnants, which generate barriers.[3] | |||
20w17a | Barriers can no longer generate in bastions. | ||||
1.17 | 21w20a | ![]() ![]() | |||
Bedrock Edition | |||||
1.6.0 | beta 1.6.0.1 | ![]() | |||
1.10.0 | beta 1.10.0.3 | ![]() | |||
Legacy Console Edition | |||||
TU31 | CU19 | 1.22 | Patch 3 | ![]() | |
PlayStation 4 Edition | |||||
1.90 | ![]() |
Issues[]
Issues relating to "Barrier" are maintained on the bug tracker. Report issues there.
Trivia[]
- The symbol used is not compliant with ISO 3864-1, as the diagonal line is mirrored.[5]
- 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.[6]
Gallery[]
Barrier in debug mode.