VOOZH about

URL: https://minecraft.wiki/w/Barrier

⇱ Barrier – Minecraft Wiki


Barrier

From Minecraft Wiki
Jump to navigation Jump to search
Barrier
Rarity tier
  • Epic β€Œ[JE only]
  • Common β€Œ[BE only]
Renewable No
Stackable Yes (64)
Tool None
Blast resistance 3,600,000.75
Hardness -1
Luminous No
Transparent Partial (lets light pass through)
Waterloggable Yes
Flammable No
Catches fire
from lava
No
Map color No waterlogging:
 0 NONE

Waterlogging::
 12 WATER

Note block instrument Default (Harp)
{
 "title": "Barrier",
 "rows": [
 {
 "field": "\n* Epic β€Œ<sup class=\" nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Java Edition\">(link to Java Edition article, displayed as JE) only</span></i>]</sup>\n* Common β€Œ<sup class=\" nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Bedrock Edition\">(link to Bedrock Edition article, displayed as BE) only</span></i>]</sup>",
 "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.75",
 "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<br>from (link to lava article, displayed as lava)"
 },
 {
 "field": "'''No waterlogging:''' <span style=\"white-space: nowrap;\"><span style=\"display: inline-block; background-color: rgb(); border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> 0 NONE</span>\n'''Waterlogging:''': <span style=\"white-space: nowrap;\"><span style=\"display: inline-block; background-color: rgb(64, 64, 255); border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> 12 WATER</span>",
 "label": "(link to Map color article, displayed as Map color)"
 },
 {
 "field": "Default (Harp)",
 "label": "(link to Note Block#Instruments article, displayed as Note block instrument)"
 }
 ],
 "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 cannot be obtained in the creative mode inventory and are only obtainable via commands such as /give, /item in Java Edition, and /replaceitem and /give 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]
πŸ‘ Image
The difference between air (top left) and barriers (bottom left) when "show invisible blocks" is enabled.

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. In Java Edition, barriers take a few seconds to appear and disappear when holding a barrier. In Bedrock Edition, it disappears instantly. 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]

Java Edition:

πŸ‘ BlockSprite stone.png: Sprite image for stone in Minecraft
stone sound type
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitchAttenuation
distance
​Block brokenBlocksOnce the block has brokenblock.stone.breaksubtitles.block.generic.break​1.00.816
​Block placedBlocksWhen the block is placedblock.stone.placesubtitles.block.generic.place​1.00.816
​Block breakingBlocksWhile the block is in the process of being brokenblock.stone.hitsubtitles.block.generic.hit​0.250.516
​Something falls on a blockEntity-DependentFalling on the block with fall damageblock.stone.fallsubtitles.block.generic.fall​0.50.7516
​FootstepsEntity-DependentWalking on the blockblock.stone.stepsubtitles.block.generic.footsteps​0.151.016

Bedrock Edition:

πŸ‘ BlockSprite bricks.png: Sprite image for bricks in Minecraft
normal sound type
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitch
​Block brokenBlocksOnce the block has brokendig.stonesubtitles.block.generic.break​1.00.8–1.0
​Block placedBlocksWhen the block is placedplace.stonesubtitles.block.generic.place​1.00.8–1.0
​Block breakingBlocksWhile the block is in the process of being brokenhit.stonesubtitles.block.generic.hit​0.27 [sound 1]0.5
​FootstepsPlayersFalling on the block with fall damagefall.stonesubtitles.block.generic.footsteps​0.41.0
​FootstepsPlayersWalking on the blockstep.stonesubtitles.block.generic.footsteps​0.31.0
​FootstepsBlocksJumping from the blockjump.stonesubtitles.block.generic.footsteps​0.121.0
​FootstepsBlocksFalling on the block without fall damageland.stonesubtitles.block.generic.footsteps​0.221.0
  1. ↑ MCPE-169612 β€“ Many blocks make slightly different sounds to stone

Data values

[edit | edit source]

Java Edition:

NameIdentifierFormBlock tags Translation key
πŸ‘ BlockSprite barrier.png: Sprite image for barrier in Minecraft
Barrier
barrierBlock & Itemblocks_wind_charge_explosions
dragon_immune
snow_layer_cannot_survive_on
wither_immune
block.minecraft.barrier

Bedrock Edition:

NameIdentifierNumeric ID FormItem ID[i 1] Translation key
πŸ‘ BlockSprite barrier.png: Sprite image for barrier in Minecraft
Barrier
barrier416Block & Giveable Item[i 2]Identical[i 3]
(Numeric: -161)
tile.barrier.name
  1. ↑ ID of block's direct item form, which is used in savegame files and addons.
  2. ↑ Available with /give command.
  3. ↑ The block's direct item form has the same ID as the block.

Block states

[edit | edit source]
See also: Block states

Java Edition:

Name Default value Allowed values Description
waterloggedfalsetrue
false
Whether or not there's water in the same place as this barrier.

History

[edit | edit source]

Tweet

[edit | edit source]
January 30, 2014Grum posted about an invisible block.

Java Edition

[edit | edit source]
Java Edition
1.814w05aπŸ‘ Image
Added barriers.
14w06aBarriers 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.
14w06bBarriers are now visible when holding the item in Creative mode.
14w20aWithers and ender dragons can no longer break barriers.
1.8.1pre3Blue wither skulls no longer break barriers.
1.1418w43aπŸ‘ Image
The texture of barriers has been changed.
1.15pre2Barriers are now visible when holding a barrier in the offhand.[1]
1.1620w16aBarriers naturally generate inside bastion remnants.
20w17aBarriers no longer generate in bastion remnants.
1.1721w13aBarriers are no longer visible when held in the offhand.[2]
21w20aπŸ‘ Image
πŸ‘ Image
Barriers are now revealed by save-mode structure blocks.[3]
The rarity of barriers has been changed from "Common" to "Epic".
1.19.322w42aBarriers no longer emit block particles when broken.[4]
22w44aBarriers are now available in the Creative inventory, but only if cheats are enabled.
22w45aMoved 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.223w31aBarriers can now be waterlogged by players in Creative mode.
Barriers can no longer produce particles when fallen onto[5] or brushed.[6]

Bedrock Edition

[edit | edit source]
Bedrock Edition
1.6.0beta 1.6.0.1πŸ‘ Image
Added barriers.
1.10.0beta 1.10.0.3πŸ‘ Image
The texture of barriers has been changed.
1.20.70Preview 1.20.70.22Barrier no longer drops itself when breaking.

Legacy Console Edition

[edit | edit source]
Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU31CU191.221.221.22Patch 31.0.1πŸ‘ Image
Added barrier. It is unobtainable.
TU36CU251.281.281.28Patch 7With the addition of the battle mini game, barriers are now used in various battle maps.
TU69 1.761.761.76Patch 38 Added a new tutorial world which uses barrier blocks.
TU731.821.831.82Patch 42Barrier blocks have been removed from the tutorial world.
1.90 πŸ‘ Image
The texture of barriers has been changed.

Data history

[edit | edit source]
Java Edition
1.1317w47aPrior to The Flattening, this block's numeral ID was 166.

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.[7]
  • 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.[8]

Gallery

[edit | edit source]

Screenshots

[edit | edit source]

Development images

[edit | edit source]

References

[edit | edit source]
  1. ↑ MC-83003
  2. ↑ MC-221824
  3. ↑ MC-102220
  4. ↑ MC-221568
  5. ↑ MC-122547 β€“ Barriers can produce fall particles β€“ resolved as "Fixed".
  6. ↑ MC-260085 β€“ Particles are created when using a brush on a barrier β€“ resolved as "Fixed".
  7. ↑ MC-64322 β€“ resolved as "Works As Intended".
  8. ↑ MC-131775

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Barrier?oldid=3597721"

Navigation menu