Barrier
Rarity tier |
Epic |
---|---|
Renewable |
No |
Stackable |
Yes (64) |
Tool |
None |
Blast resistance |
3,600,000.8 |
Hardness |
-1 |
Luminous |
No |
Transparent |
Partial (lets light pass through) |
Waterloggable |
Yes |
Flammable |
No |
Catches fire from lava |
No |
{ "title": "Barrier", "rows": [ { "field": "Epic", "label": "(link to Rarity article, displayed as Rarity tier)" }, { "field": "No", "label": "(link to Renewable resource article, displayed as Renewable)" }, { "field": "Yes (64)", "label": "Stackable" }, { "field": "None", "label": "Tool" }, { "field": "3,600,000.8", "label": "(link to Explosion#Blast resistance article, displayed as Blast resistance)" }, { "field": "-1", "label": "(link to Breaking#Blocks by hardness article, displayed as Hardness)" }, { "field": "No", "label": "(link to Light article, displayed as Luminous)" }, { "field": "Partial <small>(lets light pass through)</small>", "label": "(link to Opacity article, displayed as Transparent)" }, { "field": "Yes", "label": "(link to Waterlogging article, displayed as Waterloggable)" }, { "field": "No", "label": "(link to Flammable article, displayed as Flammable)" }, { "field": "No", "label": "Catches fire from (link to lava article, displayed as lava)" } ], "invimages": [ "Barrier" ], "images": [ "Barrier (held).png", "Barrier (shown).png" ] }
A barrier is an invisible block used to create solid boundaries.
Obtaining[edit | edit source]
Barriers can be obtained only using commands such as /give
, /item
in Java Edition, and /replaceitem
in Bedrock Edition and cannot be broken in Survival mode.
In Java Edition, barriers are available in the Creative inventory if cheats are enabled and the "Operator Items Tab" setting is turned on.
Natural generation[edit | edit source]
In normal worlds, barriers do not generate naturally. In Java Edition, they generate as the floor in debug mode worlds.
Usage[edit | edit source]
![](https://cdn.statically.io/img/minecraft.wiki/images/thumb/Shown_Invisible_Blocks.png/300px-Shown_Invisible_Blocks.png?4515d)
Barrier blocks are mainly used to build an impenetrable barrier that cannot be broken in standard Survival mode. 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. Furthermore, they have a greater amount of blast resistance than any other unbreakable block.
Unlike other operator blocks such as command blocks, barriers can be placed by players in Survival mode.
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 beacons. 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.
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 mode, the particle does not appear. Barrier blocks are not shown if the particle setting is set to "minimal".
Waterlogging[edit | edit source]
Barrier blocks can be waterlogged by being placed into a water source block or by manually using a water bucket on them. In Java Edition, water cannot be placed in them or taken out by non-direct interactions such as dispensers; this is allowed in Bedrock Edition. In Java Edition, only players in Creative mode can waterlog or remove water from barriers, while in Bedrock Edition there are no game mode restrictions. In Java Edition, water does not flow out of waterlogged barriers. See waterlogging for more details on what blocks can be waterlogged.
Piston interactivity[edit | edit source]
Barriers cannot be pushed by pistons. They also cannot be pushed nor pulled by sticky pistons.
Sounds[edit | edit source]
![]() stone sound type | ||||||||
---|---|---|---|---|---|---|---|---|
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
Block broken | Blocks | Once the block has broken | block | subtitles | 1.0 | 0.8 | 16{ "pitch": "0.8", "subtitle": "​Block broken", "source": "Blocks", "id": "block.stone.break", "distance": "16", "desc": "Once the block has broken", "sounds": [ "Stone dig1.ogg", "Stone dig2.ogg", "Stone dig3.ogg", "Stone dig4.ogg" ], "volume": "1.0", "java": "1", "translationkey": "subtitles.block.generic.break" } | |
Block placed | Blocks | When the block is placed | block | subtitles | 1.0 | 0.8 | 16{ "pitch": "0.8", "subtitle": "​Block placed", "source": "Blocks", "id": "block.stone.place", "distance": "16", "desc": "When the block is placed", "sounds": [ "Stone dig1.ogg", "Stone dig2.ogg", "Stone dig3.ogg", "Stone dig4.ogg" ], "volume": "1.0", "java": "1", "translationkey": "subtitles.block.generic.place" } | |
Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.25 | 0.5 | 16{ "pitch": "0.5", "subtitle": "​Block breaking", "source": "Blocks", "id": "block.stone.hit", "distance": "16", "desc": "While the block is in the process of being broken", "sounds": [ "Stone mining1.ogg", "Stone mining2.ogg", "Stone mining3.ogg", "Stone mining4.ogg", "Stone mining5.ogg", "Stone mining6.ogg" ], "volume": "0.25", "java": "1", "translationkey": "subtitles.block.generic.hit" } | |
None[sound 1] | Entity-Dependent | Falling on the block with fall damage | block | None[sound 1] | 0.5 | 0.75 | 16{ "pitch": "0.75", "subtitle": "''None''​'\"`UNIQ--ref-000000B3-QINU`\"'​", "source": "''[[Sound#Entity-dependent categories|Entity-Dependent]]''", "id": "block.stone.fall", "distance": "16", "desc": "Falling on the block with fall damage", "sounds": [ "Stone hit1.ogg", "Stone hit2.ogg", "Stone hit3.ogg", "Stone hit4.ogg", "Stone hit5.ogg", "Stone hit6.ogg" ], "volume": "0.5", "java": "1" } | |
Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16{ "pitch": "1.0", "subtitle": "​Footsteps", "source": "''[[Sound#Entity-dependent categories|Entity-Dependent]]''", "id": "block.stone.step", "distance": "16", "desc": "Walking on the block", "sounds": [ "Stone hit1.ogg", "Stone hit2.ogg", "Stone hit3.ogg", "Stone hit4.ogg", "Stone hit5.ogg", "Stone hit6.ogg" ], "volume": "0.15", "java": "1", "translationkey": "subtitles.block.generic.footsteps" } |
![]() normal sound type | |||||
---|---|---|---|---|---|
Sound | Source | Description | Resource location | Volume | Pitch |
Blocks | Once the block has broken | dig | 1.0 | 0.8-1.0{ "sounds": [ "Stone dig1.ogg", "Stone dig2.ogg", "Stone dig3.ogg", "Stone dig4.ogg" ], "source": "Blocks", "volume": "1.0", "id": "dig.stone", "pitch": "0.8-1.0", "bedrock": "1", "desc": "Once the block has broken" } | |
Blocks | When the block is placed | dig | 1.0 | 0.8-1.0{ "sounds": [ "Stone dig1.ogg", "Stone dig2.ogg", "Stone dig3.ogg", "Stone dig4.ogg" ], "source": "Blocks", "volume": "1.0", "id": "dig.stone", "pitch": "0.8-1.0", "bedrock": "1", "desc": "When the block is placed" } | |
Blocks | While the block is in the process of being broken | hit | 0.27 [sound 1] | 0.5{ "sounds": [ "Stone hit1.ogg", "Stone hit2.ogg", "Stone hit3.ogg", "Stone hit4.ogg", "Stone hit5.ogg", "Stone hit6.ogg" ], "source": "Blocks", "volume": "0.27 '\"`UNIQ--ref-000000B6-QINU`\"'", "id": "hit.stone", "pitch": "0.5", "bedrock": "1", "desc": "While the block is in the process of being broken" } | |
Players | Falling on the block with fall damage | fall | 0.4 | 1.0{ "sounds": [ "Stone hit1.ogg", "Stone hit2.ogg", "Stone hit3.ogg", "Stone hit4.ogg", "Stone hit5.ogg", "Stone hit6.ogg" ], "source": "Players", "volume": "0.4", "id": "fall.stone", "pitch": "1.0", "bedrock": "1", "desc": "Falling on the block with fall damage" } | |
Players | Walking on the block | step | 0.3 | 1.0{ "sounds": [ "Stone hit1.ogg", "Stone hit2.ogg", "Stone hit3.ogg", "Stone hit4.ogg", "Stone hit5.ogg", "Stone hit6.ogg" ], "source": "Players", "volume": "0.3", "id": "step.stone", "pitch": "1.0", "bedrock": "1", "desc": "Walking on the block" } | |
Players | Jumping from the block | jump | 0.12 | 1.0{ "sounds": [ "Stone jump1.wav", "Stone jump2.wav", "Stone jump3.wav", "Stone jump4.wav" ], "source": "Players", "volume": "0.12", "id": "jump.stone", "pitch": "1.0", "bedrock": "1", "desc": "Jumping from the block" } | |
Players | Falling on the block without fall damage | land | 0.22 | 1.0{ "sounds": [ "Stone jump1.wav", "Stone jump2.wav", "Stone jump3.wav", "Stone jump4.wav" ], "source": "Players", "volume": "0.22", "id": "land.stone", "pitch": "1.0", "bedrock": "1", "desc": "Falling on the block without fall damage" } |
- ↑ MCPE-169612 — Many blocks make slightly different sounds to stone
Data values[edit | edit source]
ID[edit | edit source]
Name | Identifier | Form | Block tags | Translation key |
---|---|---|---|---|
![]() | barrier | Block & Item | dragon_immune wither_immune | block.minecraft.barrier |
Name | Identifier | Numeric ID | Form | Item ID[i 1] | Translation key |
---|---|---|---|---|---|
![]() | barrier | 416 | Block & Giveable Item[i 2] | Identical[i 3] | tile.barrier.name |
Block states[edit | edit source]
Name | Default value | Allowed values | Description |
---|---|---|---|
waterlogged | false | true false | Whether or not there's water in the same place as this barrier. |
History[edit | edit source]
Java Edition | |||||||
---|---|---|---|---|---|---|---|
1.8 | January 30, 2014 | Grum 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. | ||||||
1.8.1 | pre3 | Blue wither skulls no longer break barriers. | |||||
1.13 | 17w47a | Prior to The Flattening, this block's numeral ID was 166. | |||||
1.14 | 18w43a | ![]() | |||||
1.17 | 21w20a | ![]() ![]() | |||||
1.19.3 | 22w42a | Barriers no longer emit block particles when broken.[2] | |||||
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.20.2 | 23w31a | Barriers can now be waterlogged by players in Creative mode. | |||||
Barriers can no longer produce particles when fallen onto[3] or brushed[4]. | |||||||
Bedrock Edition | |||||||
1.6.0 | beta 1.6.0.1 | ![]() | |||||
1.10.0 | beta 1.10.0.3 | ![]() | |||||
1.20.70 | Preview 1.20.70.22 | Barrier no longer drops itself when breaking. | |||||
Legacy Console Edition | |||||||
Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
TU31 | CU19 | 1.22 | 1.22 | 1.22 | Patch 3 | 1.0.1 | ![]() |
TU36 | CU25 | 1.28 | 1.28 | 1.28 | Patch 7 | Barrier blocks are now used in battle minigames. | |
TU69 | 1.76 | 1.76 | 1.76 | Patch 38 | Added barrier block to tutorial. | ||
TU73 | 1.82 | 1.83 | 1.82 | Patch 42 | Fixed barrier block in the tutorial level. | ||
1.90 | ![]() |
Issues[edit | edit source]
Issues relating to "Barrier" are maintained on the bug tracker. Issues should be reported and viewed there.
Trivia[edit | edit source]
- 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 it does not 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[edit | edit source]
Screenshots[edit | edit source]
-
Barriers support any block, and can transmit a redstone signal.
-
A pig standing on a barrier.
-
Barriers in debug mode.
Development images[edit | edit source]
-
Dev image of barriers.
-
Ditto.