Barrier

From Minecraft Wiki
(Redirected from Barrier block)
Jump to: navigation, search
Barrier
Barrier with Hitbox.pngBarrier with Hitbox (Invisible).png
Transparent

Partial (lets light pass through)

Luminance

0

Blast resistance

18,000,000

Tool

None

Renewable

No

Stackable

Yes (64)

Flammable

No

Catches fire from lava

No

Drops

Nothing

Data value

dec: 416 hex: 1A0 bin: 110100000

Namespaced ID

barrier

Erik Broes-twitter.png

The best blocks are the ones that do not need art! :D

Grum announcing the barrier block [1]

A barrier is a transparent solid block used to create impenetrable boundaries.

Obtaining[edit]

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 vanilla survival mode.

Usage[edit]

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.

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 won't display. Barrier blocks are not shown if the particle setting is set to "minimal". Barriers cannot be pushed by pistons. They, furthermore, 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.

Sounds[edit]

Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Attenuation distance
Block breaking block.stone.hit subtitles.block.generic.hit Blocks 0.5 0.25 16
Block broken block.stone.break subtitles.block.generic.break Blocks 0.8 1.0 16
Block placed block.stone.place subtitles.block.generic.place Blocks 0.8 1.0 16
Footsteps block.stone.step subtitles.block.generic.footsteps Blocks 1.0 0.15 16
No subtitle block.stone.fall (Plays when fallen on from a height) Blocks 0.75 0.5 16

Video[edit]

History[edit]

Java Edition
1.8January 30, 2014Grum posted about an invisible block.
14w05aBarrier Revision 1.png Added barrier.
14w06aNow uses block of redstone breaking particles instead of lava.
Added barrier particle effect for the particle command. With this the player can now see where there are barriers.
14w06bNow visible when holding the item in creative mode.
14w20aWithers and ender dragons can no longer break barriers.
14w25aErrors made the Barriers use missing textured breaking particles.
14w26aBarriers now use the barrier item for particles.
releaseBarriers can be broken by withers again.
1.8.1?Withers no longer break barriers again.
1.1317w47aPrior to The Flattening, this block's numeral ID was 166.
1.1418w43aBarrier.png Changed barrier texture.
Bedrock Edition
1.6.0beta 1.6.0.1Barrier Revision 1.png Added barrier.
1.10.0beta 1.10.0.3Barrier.png Changed barrier texture.
Legacy Console Edition
TU31CU191.22Patch 3Barrier Revision 1.png Added barrier.

Issues[edit]

Issues relating to "Barrier" are maintained on the bug tracker. Report issues there.

Trivia[edit]

  • The symbol used is not compliant with ISO 3864-1, as the diagonal line is mirrored.[2]
  • Invisible bedrock, a technical block in Bedrock Edition and New Nintendo 3DS Edition, shares many features with the barrier block.
  • The barrier block is in the Legacy Console Edition of the game, but requires an inventory editor/external tool.
  • This block has a higher blast resistance than any other unbreakable block in the game.
  • In Minecraft 4k, there is barrier on the bottom of the map, which is unbreakable by any means.[3]
  • The barrier's blockstate file in the game's assets is functionally identical to most standard blocks in the game, using a single, unnamed variant that uses block/barrier as a model.
    • 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. However, using a custom resource pack that modifies the barrier block model to use the block/cube_all parent model (used by most simple blocks with only one texture) with the barrier item's texture as the block's texture still does not allow barriers to render.

Gallery[edit]

References[edit]