Minecraft:Barrier: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{ | {{MC/For}} | ||
{{Infobox block | {{Infobox block | ||
| group = Held | | group = Held | ||
| Line 22: | Line 22: | ||
== Obtaining == | == Obtaining == | ||
Barriers cannot be obtained in the creative mode inventory and are only obtainable via commands such as {{ | Barriers cannot be obtained in the creative mode inventory and are only obtainable via commands such as {{MC/Cmd|give}}, {{MC/Cmd|item}} {{MC/In|java}}, and {{MC/Cmd|replaceitem}} and {{MC/Cmd|give}} {{MC/In|bedrock}} and cannot be broken in Survival mode. | ||
{{ | {{MC/In|Java}}, barriers are available in the Creative inventory if cheats are enabled and the "Operator Items Tab" setting is turned on. | ||
=== Natural generation === | === Natural generation === | ||
In normal worlds, barriers do not generate naturally. {{ | In normal worlds, barriers do not generate naturally. {{MC/In|java}}, they generate as the floor in debug mode worlds. | ||
== Usage == | == Usage == | ||
| Line 47: | Line 47: | ||
=== Waterlogging === | === Waterlogging === | ||
Barrier blocks can be waterlogged by being placed into a water source block or by manually {{ | Barrier blocks can be waterlogged by being placed into a water source block or by manually {{MC/Control|using}} a water bucket on them. {{MC/In|java}}, water cannot be placed in them or taken out by non-direct interactions such as [[Minecraft:dispenser]]s; this is allowed {{MC/In|bedrock}}. {{MC/In|java}}, only players in Creative mode can waterlog or remove water from barriers, while {{MC/In|bedrock}} there are no game mode restrictions. {{MC/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 === | ||
| Line 53: | Line 53: | ||
== Sounds == | == Sounds == | ||
{{Sound table/Block/Normal}} | {{MC/Sound table/Block/Normal}} | ||
== Data values == | == Data values == | ||
=== ID === | === ID === | ||
{{ | {{MC/Edition|java}}: | ||
{{ID table | {{ID table | ||
|edition=java | |edition=java | ||
| Line 69: | Line 69: | ||
|foot=1}} | |foot=1}} | ||
{{ | {{MC/Edition|bedrock}}: | ||
{{ID table2 | {{ID table2 | ||
|edition=bedrock | |edition=bedrock | ||
| Line 82: | Line 82: | ||
=== Block states === | === Block states === | ||
{{ | {{MC/See also|Block states}} | ||
{{JE}}: | {{MC/JE}}: | ||
{{bst|waterlogged|false|true,false|Whether or not there's water in the same place as this barrier.|foot=1}} | {{bst|waterlogged|false|true,false|Whether or not there's water in the same place as this barrier.|foot=1}} | ||
| Line 97: | Line 97: | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.8|dev=14w05a|[[File:Barrier JE1 BE1.png|32px]] Added barriers.}} | |{{MC/HistoryLine||1.8|dev=14w05a|[[File:Barrier JE1 BE1.png|32px]] Added barriers.}} | ||
|{{HistoryLine|||dev=14w06a|Barriers now use block of redstone breaking particles instead of [[Minecraft:lava]]. | |{{MC/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 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 Creative mode.}} | |{{MC/HistoryLine|||dev=14w06b|Barriers are now visible when holding the [[Minecraft:item]] in Creative mode.}} | ||
|{{HistoryLine|||dev=14w20a|[[Minecraft:Wither]]s and ender dragons can no longer break barriers.}} | |{{MC/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.}} | |{{MC/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.}} | |{{MC/HistoryLine||1.14|dev=18w43a|[[File:Barrier JE2 BE2.png|32px]] The texture of barriers has been changed.}} | ||
|{{HistoryLine||1.15|dev=pre2|Barriers are now visible when holding a barrier in the offhand.<ref>{{bug|MC-83003}}</ref>}} | |{{HistoryLine||1.15|dev=pre2|Barriers are now visible when holding a barrier in the offhand.<ref>{{bug|MC-83003}}</ref>}} | ||
|{{HistoryLine||1.16|dev=20w16a|Barriers naturally generate inside bastion remnants.}} | |{{MC/HistoryLine||1.16|dev=20w16a|Barriers naturally generate inside bastion remnants.}} | ||
|{{HistoryLine|||dev=20w17a|Barriers no longer generate in bastion remnants.}} | |{{MC/HistoryLine|||dev=20w17a|Barriers no longer generate in bastion remnants.}} | ||
|{{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 structure blocks.<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 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>}}|{{MC/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.}} | |{{MC/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 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 119: | Line 119: | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|bedrock}} | |{{MC/HistoryLine|bedrock}} | ||
|{{HistoryLine||1.6.0|dev=beta 1.6.0.1|[[File:Barrier JE1 BE1.png|32px]] Added barriers.}} | |{{MC/HistoryLine||1.6.0|dev=beta 1.6.0.1|[[File:Barrier JE1 BE1.png|32px]] Added barriers.}} | ||
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Barrier JE2 BE2.png|32px]] The texture of barriers has been changed.}} | |{{MC/HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Barrier JE2 BE2.png|32px]] The texture of barriers has been changed.}} | ||
|{{HistoryLine||1.20.70|dev=Preview 1.20.70.22|Barrier no longer drops itself when breaking.}} | |{{MC/HistoryLine||1.20.70|dev=Preview 1.20.70.22|Barrier no longer drops itself when breaking.}} | ||
}} | }} | ||
=== Legacy Console Edition === | === Legacy Console Edition === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|console}} | |{{MC/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.}} | |{{MC/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 battle mini game, barriers are now used in various battle maps.}} | |{{MC/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 tutorial world which uses barrier blocks.}} | |{{MC/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 tutorial world.}} | |{{MC/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.}} | |{{MC/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.}} | ||
}} | }} | ||
=== Data history === | === Data history === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.13|dev=17w47a|Prior to ''The Flattening'', this block's numeral ID was 166.}} | |{{MC/HistoryLine||1.13|dev=17w47a|Prior to ''The Flattening'', this block's numeral ID was 166.}} | ||
}} | }} | ||
== Issues == | == Issues == | ||
{{ | {{MC/Issue list}} | ||
== Trivia == | == Trivia == | ||
| Line 167: | Line 167: | ||
== References == | == References == | ||
{{ | {{MC/Reflist}} | ||
== Navigation == | == Navigation == | ||
{{Navbox_invisible_block}} | {{Navbox_invisible_block}} | ||
{{Navbox blocks|creative}} | {{MC/Navbox blocks|creative}} | ||
[[Category:Creative or commands only blocks]] | [[Category:Creative or commands only blocks]] | ||
Latest revision as of 19:02, 9 April 2026
Template:Hatnote 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
- REDIRECT Template:Command
- REDIRECT Template:Command
Template:Redr in Template:Editions, and
- REDIRECT Template:Command
Template:Redr and
- REDIRECT Template:Command
Template:Redr in Template:Editions and cannot be broken in Survival mode.
in Template:Editions, 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. in Template:Editions, they generate as the floor in 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, 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 {{#vardefine: control | right click on mouse or left trigger on gamepad }}using a water bucket on them. in Template:Editions, water cannot be placed in them or taken out by non-direct interactions such as Minecraft:dispensers; this is allowed in Template:Editions. in Template:Editions, only players in Creative mode can waterlog or remove water from barriers, while in Template:Editions there are no game mode restrictions. in Template:Editions, 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
Data values
ID
Template:!((Java EditionTemplate:))!: Template:ID table
Template:!((Bedrock EditionTemplate:))!: Template:ID table2
Block states
{{#vardefine:params|0 }}Template:Hatnote
History
Tweet
Java Edition
Bedrock Edition
Legacy Console Edition
Data history
Issues
Script error: No such module "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
-
Barriers support any block, and can transmit a redstone signal.
-
A pig standing on a barrier.
-
Barriers in debug mode.
Development images
-
Dev image of barriers.
-
Ditto.
References
<references group="">
</references>
Template:Navbox invisible block
Template:Article otherTemplate:Article other
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:屏障