Minecraft:Barrier
More actions
Template:For Template:Infobox block A barrier is an Minecraft:invisible block used to create solid boundaries.
Obtaining
Barriers cannot be obtained in the creative mode inventory and are only obtainable via commands such as Template:Cmd, Template:Cmd Template:In, and Template:Cmd and Template:Cmd Template:In and cannot be broken in Survival mode.
Template:IN, barriers are available in the Creative inventory if cheats are enabled and the "Operator Items Tab" setting is turned on.
Natural generation
In normal worlds, barriers do not generate naturally. Template:IN, they generate as the floor in Minecraft:debug mode worlds.
Usage
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 Minecraft:bedrock), barrier blocks are unobtrusive because they are invisible. Barrier blocks cannot be destroyed by Minecraft:TNT, Minecraft:creeper explosions, or any other Minecraft:explosions. Furthermore, they have a greater amount of blast resistance than any other unbreakable block.
Unlike other operator blocks such as Minecraft:command blocks, barriers can be placed by players in Survival mode.
In the player's Minecraft: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 Minecraft:beacons. Minecraft:Fences, Minecraft:iron bars, Minecraft: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 Minecraft:torches or Minecraft:redstone, and it can suffocate mobs. Mobs cannot spawn on barriers.
In Minecraft:Creative mode, if a player is holding a barrier block in their hand, all placed barrier blocks display the barrier icon as a Minecraft: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
Barrier blocks can be waterlogged by being placed into a water source block or by manually Template:Control a Minecraft:water bucket on them. Template:IN, water cannot be placed in them or taken out by non-direct interactions such as Minecraft:dispensers; this is allowed Template:In. Template:IN, only players in Creative mode can waterlog or remove water from barriers, while Template:In there are no game mode restrictions. Template:IN, water does not flow out of waterlogged barriers. See Minecraft:waterlogging for more details on what blocks can be waterlogged.
Piston interactivity
Barriers cannot be pushed by Minecraft:pistons. They also cannot be pushed nor pulled by Minecraft:sticky pistons.
Sounds
Data values
ID
Template:Edition: Template:ID table
Template:Edition: Template:ID table2
Block states
History
Tweet
Java Edition
Bedrock Edition
Legacy Console Edition
Data history
Issues
Trivia
- The symbol used is not compliant with ISO 3864-1, as the diagonal line is mirrored.<ref>Template:Bug</ref>
- 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.<ref>Template:Bug</ref>
Gallery
Screenshots
-
Barriers support any block, and can transmit a redstone signal.
-
A pig standing on a barrier.
-
Barriers in Minecraft:debug mode.
Development images
-
Dev image of barriers.
-
Ditto.
References
Template:Navbox invisible block Template:Navbox blocks
Minecraft:cs:Bariéra Minecraft:de:Barriere Minecraft:es:Barrera Minecraft:fr:Barrière invisible Minecraft:it:Barriera Minecraft:ja:バリアブロック Minecraft:ko:방벽 Minecraft:lzh:障 Minecraft:nl:Barrière Minecraft:pl:Bariera Minecraft:pt:Barreira Minecraft:ru:Барьер Minecraft:uk:Бар'єр Minecraft:zh:屏障