Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Barrier: Difference between revisions

From SAS Gaming Wiki
imported>Capopanzo
completely unrelated name and usage
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 19: Line 19:
'''Waterlogging:''': {{Map color|water}}  
'''Waterlogging:''': {{Map color|water}}  
}}
}}
A '''barrier''' is an [[Minecraft:invisible block]] used to create solid boundaries.
A '''barrier''' is an invisible block used to create solid boundaries.


== Obtaining ==
== Obtaining ==
Line 27: Line 27:


=== Natural generation ===
=== Natural generation ===
In normal worlds, barriers do not generate naturally. {{IN|java}}, they generate as the floor in [[Minecraft:debug mode]] worlds.
In normal worlds, barriers do not generate naturally. {{IN|java}}, they generate as the floor in debug mode worlds.


== Usage ==
== Usage ==
[[File:Shown Invisible Blocks.png|thumb|The difference between air (top left) and barriers (bottom left) when "show invisible blocks" is enabled.]]
[[File:Shown Invisible Blocks.png|thumb|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 [[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:explosion]]s. Furthermore, they have a greater amount of blast resistance than any other unbreakable block.
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]], 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 [[Minecraft:command block]]s, barriers can be placed by players in Survival mode.
Unlike other operator blocks such as 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.
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:beacon]]s. [[Minecraft:Fence]]s, [[Minecraft:iron bars]], [[Minecraft:glass pane]]s, 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:torch]]es or [[Minecraft:redstone]], and it can suffocate mobs. Mobs cannot spawn on barriers.
Barriers are transparent to light and do not block [[Minecraft:beacon]]s. [[Minecraft:Fence]]s, 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 [[Minecraft:torch]]es 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".  
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".  


<gallery>
<gallery>
Line 47: Line 47:


=== Waterlogging ===
=== Waterlogging ===
Barrier blocks can be waterlogged by being placed into a water source block or by manually {{control|using}} a [[Minecraft:water bucket]] on them. {{IN|java}}, water cannot be placed in them or taken out by non-direct interactions such as [[Minecraft:dispenser]]s; this is allowed {{in|bedrock}}. {{IN|java}}, only players in Creative mode can waterlog or remove water from barriers, while {{in|bedrock}} there are no game mode restrictions. {{IN|java}}, water does not flow out of waterlogged barriers. See [[Minecraft:waterlogging]] for more details on what blocks can be waterlogged.
Barrier blocks can be waterlogged by being placed into a water source block or by manually {{control|using}} a water bucket on them. {{IN|java}}, water cannot be placed in them or taken out by non-direct interactions such as [[Minecraft:dispenser]]s; this is allowed {{in|bedrock}}. {{IN|java}}, only players in Creative mode can waterlog or remove water from barriers, while {{in|bedrock}} there are no game mode restrictions. {{IN|java}}, water does not flow out of waterlogged barriers. See waterlogging for more details on what blocks can be waterlogged.


=== Piston interactivity ===
=== Piston interactivity ===
Barriers cannot be pushed by [[Minecraft:piston]]s. They also cannot be pushed nor pulled by [[Minecraft:sticky piston]]s.
Barriers cannot be pushed by [[Minecraft:piston]]s. They also cannot be pushed nor pulled by sticky pistons.


== Sounds ==
== Sounds ==
Line 92: Line 92:
=== Tweet ===
=== Tweet ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine||January 30, 2014|link={{tweet|_grum|428874685418602496}}|[[Minecraft:Grum]] posted about an invisible block.}}
|{{HistoryLine||January 30, 2014|link={{tweet|_grum|428874685418602496}}|Grum posted about an invisible block.}}
}}
}}


Line 99: Line 99:
|{{HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.8|dev=14w05a|[[File:Barrier JE1 BE1.png|32px]] Added barriers.}}
|{{HistoryLine||1.8|dev=14w05a|[[File:Barrier JE1 BE1.png|32px]] Added barriers.}}
|{{HistoryLine|||dev=14w06a|Barriers now use [[Minecraft:block of redstone]] breaking [[Minecraft:particles]] instead of [[Minecraft:lava]].
|{{HistoryLine|||dev=14w06a|Barriers now use block of redstone breaking particles instead of [[Minecraft:lava]].
|A barrier particle effect has been added to the particle [[Minecraft:commands|command]]. With this, the [[Minecraft:player]] can now see where there are barriers.}}
|A barrier particle effect has been added to the particle [[Minecraft:commands|command]]. With this, the player can now see where there are barriers.}}
|{{HistoryLine|||dev=14w06b|Barriers are now visible when holding the [[Minecraft:item]] in [[Minecraft:Creative]] mode.}}
|{{HistoryLine|||dev=14w06b|Barriers are now visible when holding the [[Minecraft:item]] in Creative mode.}}
|{{HistoryLine|||dev=14w20a|[[Minecraft:Wither]]s and [[Minecraft:ender dragon]]s can no longer [[Minecraft:breaking|break]] barriers.}}
|{{HistoryLine|||dev=14w20a|[[Minecraft:Wither]]s and ender dragons can no longer break barriers.}}
|{{HistoryLine||1.8.1|dev=pre3|Blue wither skulls no longer break barriers.}}
|{{HistoryLine||1.8.1|dev=pre3|Blue wither skulls no longer break barriers.}}
|{{HistoryLine||1.14|dev=18w43a|[[File:Barrier JE2 BE2.png|32px]] The texture of barriers has been changed.}}
|{{HistoryLine||1.14|dev=18w43a|[[File:Barrier JE2 BE2.png|32px]] The texture of barriers has been changed.}}
Line 110: Line 110:


|{{HistoryLine||1.17|dev=21w13a|Barriers are no longer visible when held in the offhand.<ref>{{bug|MC-221824}}</ref>}}
|{{HistoryLine||1.17|dev=21w13a|Barriers are no longer visible when held in the offhand.<ref>{{bug|MC-221824}}</ref>}}
|{{HistoryLine|||dev=21w20a|[[File:Barrier (shown) JE1.png|32px]][[File:Barrier Outline Box (shown) JE1.png|32px]] Barriers are now revealed by save-mode [[Minecraft:structure block]]s.<ref>{{bug|MC-102220}}</ref>
|{{HistoryLine|||dev=21w20a|[[File:Barrier (shown) JE1.png|32px]][[File:Barrier Outline Box (shown) JE1.png|32px]] Barriers are now revealed by save-mode structure blocks.<ref>{{bug|MC-102220}}</ref>
|The [[Minecraft:rarity]] of barriers has been changed from "Common" to "Epic".}}
|The rarity of barriers has been changed from "Common" to "Epic".}}
|{{HistoryLine||1.19.3|dev=22w42a|Barriers no longer emit block particles when broken.<ref>{{bug|MC-221568}}</ref>}}|{{HistoryLine|||dev=22w44a|Barriers are now available in the Creative inventory, but only if cheats are enabled.}}
|{{HistoryLine||1.19.3|dev=22w42a|Barriers no longer emit block particles when broken.<ref>{{bug|MC-221568}}</ref>}}|{{HistoryLine|||dev=22w44a|Barriers are now available in the Creative inventory, but only if cheats are enabled.}}
|{{HistoryLine|||dev=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.}}
|{{HistoryLine|||dev=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.}}
|{{HistoryLine||1.20.2|dev=23w31a|Barriers can now be [[Minecraft:waterlogging|waterlogged]] by players in Creative mode.
|{{HistoryLine||1.20.2|dev=23w31a|Barriers can now be waterlogged by players in Creative mode.
|Barriers can no longer produce particles when fallen onto<ref>{{bug|MC-122547||Barriers can produce fall particles|Fixed}}</ref> or [[Minecraft:brush]]ed.<ref>{{bug|MC-260085||Particles are created when using a brush on a barrier|Fixed}}</ref>}}}}
|Barriers can no longer produce particles when fallen onto<ref>{{bug|MC-122547||Barriers can produce fall particles|Fixed}}</ref> or [[Minecraft:brush]]ed.<ref>{{bug|MC-260085||Particles are created when using a brush on a barrier|Fixed}}</ref>}}}}


Line 129: Line 129:
|{{HistoryLine|console}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Barrier JE1 BE1.png|32px]] Added barrier. It is unobtainable.}}
|{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Barrier JE1 BE1.png|32px]] Added barrier. It is unobtainable.}}
|{{HistoryLine||xbox=TU36|xbone=CU25|ps3=1.28|psvita=1.28|ps4=1.28|wiiu=Patch 7|switch=1.0.1|With the addition of the [[Minecraft:battle mini game]], barriers are now used in various battle maps.}}
|{{HistoryLine||xbox=TU36|xbone=CU25|ps3=1.28|psvita=1.28|ps4=1.28|wiiu=Patch 7|switch=1.0.1|With the addition of the battle mini game, barriers are now used in various battle maps.}}
|{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|Added a new [[Minecraft:tutorial world]] which uses barrier blocks.}}
|{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|Added a new tutorial world which uses barrier blocks.}}
|{{HistoryLine||xbox=TU73|xbone=none|ps3=1.82|psvita=1.82|ps4=1.83|wiiu=Patch 42|switch=none|Barrier blocks have been removed from the [[Minecraft:tutorial world]].}}
|{{HistoryLine||xbox=TU73|xbone=none|ps3=1.82|psvita=1.82|ps4=1.83|wiiu=Patch 42|switch=none|Barrier blocks have been removed from the tutorial world.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|[[File:Barrier JE2 BE2.png|32px]] The texture of barriers has been changed.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|[[File:Barrier JE2 BE2.png|32px]] The texture of barriers has been changed.}}
}}
}}
Line 138: Line 138:
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.13|dev=17w47a|Prior to [[Minecraft:1.13/Flattening|''The Flattening'']], this block's numeral ID was 166.}}
|{{HistoryLine||1.13|dev=17w47a|Prior to ''The Flattening'', this block's numeral ID was 166.}}
}}
}}


Line 156: Line 156:
File:Barrier Redstone.png|Barriers support any block, and can transmit a redstone signal.
File:Barrier Redstone.png|Barriers support any block, and can transmit a redstone signal.
File:Wizard pig.png|A pig standing on a barrier.
File:Wizard pig.png|A pig standing on a barrier.
File:Indebugmode.png|Barriers in [[Minecraft:debug mode]].
File:Indebugmode.png|Barriers in debug mode.
</gallery>
</gallery>


Line 175: Line 175:
[[Category:Creative or commands only blocks]]
[[Category:Creative or commands only blocks]]


[[Minecraft:cs:Bariéra]]
cs:Bariéra
[[Minecraft:de:Barriere]]
de:Barriere
[[Minecraft:es:Barrera]]
es:Barrera
[[Minecraft:fr:Barrière invisible]]
fr:Barrière invisible
[[Minecraft:it:Barriera]]
it:Barriera
[[Minecraft:ja:バリアブロック]]
ja:バリアブロック
[[Minecraft:ko:방벽]]
ko:방벽
[[Minecraft:lzh:障]]
lzh:障
[[Minecraft:nl:Barrière]]
nl:Barrière
[[Minecraft:pl:Bariera]]
pl:Bariera
[[Minecraft:pt:Barreira]]
pt:Barreira
[[Minecraft:ru:Барьер]]
ru:Барьер
[[Minecraft:uk:Бар'єр]]
uk:Бар'єр
[[Minecraft:zh:屏障]]
zh:屏障

Revision as of 15:19, 9 April 2026

Template:For Template:Infobox block A barrier is an 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 debug mode worlds.

Usage

File:Shown Invisible Blocks.png
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 Minecraft:bedrock), barrier blocks are unobtrusive because they are invisible. Barrier blocks cannot be destroyed by Minecraft: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 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, 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 Minecraft:torches or Minecraft: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

Barrier blocks can be waterlogged by being placed into a water source block or by manually Template:Control a 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 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 sticky pistons.

Sounds

Template:Sound table/Block/Normal

Data values

ID

Template:Edition: Template:ID table

Template:Edition: Template:ID table2

Block states

Template:See also

Template:JE: Template:Bst

History

Tweet

Template:HistoryTable

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

Data history

Template:HistoryTable

Issues

Template:Issue list

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

Development images

References

Template:Reflist

Navigation

Template:Navbox invisible block Template:Navbox blocks

cs:Bariéra de:Barriere es:Barrera fr:Barrière invisible it:Barriera ja:バリアブロック ko:방벽 lzh:障 nl:Barrière pl:Bariera pt:Barreira ru:Барьер uk:Бар'єр zh:屏障