Minecraft Wiki
Minecraft Wiki
This article is about the invisible block in current versions. For the similar block used in old worlds in Bedrock Edition, see Invisible Bedrock. For the enchantment in Minecraft Dungeons, see Minecraft Dungeons:Barrier. For barrier at the edge of the world, see World border.
Barrier
Blank.pngBarrier (held) JE2 BE2.png
Barrier (shown) JE1.png
Renewable

No

Stackable

Yes (64)

Tool

None

Blast resistance

3,600,000.8

Hardness

-1

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.

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

Java Edition:

SoundSubtitlesSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.stone.breaksubtitles.block.generic.break1.00.816
None[sound 1]BlocksFalling on the block with fall damageblock.stone.fallNone[sound 1]0.50.7516
Block breakingBlocksWhile the block is in the process of being brokenblock.stone.hitsubtitles.block.generic.hit0.250.516
Block placedBlocksWhen the block is placedblock.stone.placesubtitles.block.generic.place1.00.816
FootstepsBlocksWalking on the blockblock.stone.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionNamespaced IDVolumePitch
BlocksOnce the block has brokendig.stone1.00.8
BlocksFalling on the block with fall damagefall.stone0.41.0
BlocksWhile the block is in the process of being brokenhit.stone0.370.5
?BlocksJumping from the blockjump.stone0.121.0
?BlocksFalling on the block without fall damageland.stone0.221.0
BlocksWalking on the blockstep.stone0.31.0
BlocksWhen the block is placeduse.stone1.00.8

Data values[]

ID[]

Java Edition:

NameNamespaced IDBlock tags (JE)FormTranslation key
Barrierbarrierdragon_immune
wither_immune
Block & Itemblock.minecraft.barrier

Bedrock Edition:

NameNamespaced IDNumeric ID FormTranslation key
Barrierbarrier416Block & Itemtile.barrier.name

Video[]

History[]

This section is missing information about Did sprinting on or punching (without breaking) barriers ever create particles in java?. 
Please expand the section to include this information. Further details may exist on the talk page.
Java Edition
1.8January 30, 2014Grumm posted about an invisible block.
14w05aBarrier (held) JE1 BE1.png 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.
14w25aMissing Texture JE3.png Errors have now made barriers use missing textured breaking particles.
14w26aBarriers now use the barrier item for particles.
releaseBarriers can now be broken by withers, once again.
1.8.1pre3Withers no longer break barriers.
1.1317w47aPrior to The Flattening, this block's numeral ID was 166.
1.1418w43aBarrier (held) JE2 BE2.png The texture of barriers has been changed.
1.1620w16aAdded bastion remnants, which generate barriers.[1]
20w17aBarriers can no longer generate in bastions.
1.1721w20aBarrier (shown) JE1.pngBarrier Outline Box (shown) JE1.png Barriers are now revealed by save-mode structure blocks.[2]
Bedrock Edition
1.6.0beta 1.6.0.1Barrier (held) JE1 BE1.png Added barriers.
1.10.0beta 1.10.0.3Barrier (held) JE2 BE2.png The texture of barriers has been changed.
Legacy Console Edition
TU31CU19 1.22 Patch 3Barrier (held) JE1 BE1.png Added barriers.
PlayStation 4 Edition
1.90Barrier (held) JE2 BE2.png The texture of barriers has been changed.

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

Gallery[]

References[]