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

Minecraft:Barrel: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
| group2 = Open
| group2 = Open
| 2-1 = Open_Barrel.png
| 2-1 = Open_Barrel.png
| description = Storage
| transparent = No
| transparent = No
| light = No
| light = No
Line 25: Line 26:
In [[Minecraft:trial chambers]], barrels containing loot can be found in the corridors, and empty barrels can be found beneath [[Minecraft:hopper]]s at chamber entrances.
In [[Minecraft:trial chambers]], barrels containing loot can be found in the corridors, and empty barrels can be found beneath [[Minecraft:hopper]]s at chamber entrances.


Barrels containing loot can be found in [[Minecraft:abandoned camp]]s.{{upcoming|Third Drop 2026}}
Barrels containing loot can be found in [[Minecraft:abandoned camp]]s.


=== Generated loot ===
=== Generated loot ===
Line 56: Line 57:
They can be filled by [[Minecraft:dropper]]s and both filled and emptied by [[Minecraft:hopper]]s. When broken, barrels drop the contents of the container and the barrel item itself.  
They can be filled by [[Minecraft:dropper]]s and both filled and emptied by [[Minecraft:hopper]]s. When broken, barrels drop the contents of the container and the barrel item itself.  


To open the barrel interface, use the {{control|Use Item}} control. To move items between the barrel inventory and the player inventory or hotbar while the barrel interface is open, drag or shift-click the items. Holding {{key|Shift}} and double-clicking while holding an item moves all items of the type clicked on in or out of the barrel to the extent that space is available for them.{{only|Java}} To exit the barrel interface, use the {{key|Esc}} control.
To open the barrel interface, use the {{control|Use Item}} control. To move items between the barrel inventory and the player inventory or hotbar while the barrel interface is open, drag or shift-click the items. Holding {{key|Shift}} and double-clicking while holding an item moves all items of the type clicked on in or out of the barrel to the extent that space is available for them.{{only|Java}} To exit the barrel interface, use the {{key|Escape}} control.


By default, the interface of a barrel is labeled "Barrel". A barrel's GUI label can be changed by naming the barrel in an [[Minecraft:anvil]] before placing it or by using the {{cmd|data}} command{{only|Java}} (for example, to label a barrel at (0,64,0) as "Bonus Barrel!", use {{cmd|data merge block 0 64 0 <nowiki>{CustomName:'"Bonus Barrel!"'}</nowiki>}}).
By default, the interface of a barrel is labeled "Barrel". A barrel's GUI label can be changed by naming the barrel in an [[Minecraft:anvil]] before placing it or by using the {{cmd|data}} command{{only|Java}} (for example, to label a barrel at (0,64,0) as "Bonus Barrel!", use {{cmd|data merge block 0 64 0 <nowiki>{CustomName:'"Bonus Barrel!"'}</nowiki>}}).
Line 67: Line 68:


=== Fuel ===
=== Fuel ===
Barrels can be used as a fuel in [[Minecraft:furnace]]s, smelting 1.5 items per block.
Barrels can be used as a [[Minecraft:Smelting|fuel]] in [[Minecraft:furnace]]s, smelting 1.5 items per block.


=== Piglins ===
=== Piglins ===
Line 81: Line 82:
| type = java
| type = java
| {{SoundLine
| {{SoundLine
|sound =Barrel close.ogg
|sound=Barrel close.ogg
|subtitle=Barrel closes
|subtitle=Barrel closes
|source=Blocks
|source=Blocks
Line 114: Line 115:
|sound=Door close.ogg
|sound=Door close.ogg
|sound2=Door open.ogg
|sound2=Door open.ogg
|subtitle=Chest locked<ref group=sound name=lock>{{Bug|MC-98316||Wrong subtitles caused by missing distinction}}</ref>
|subtitle=Chest locked{{until|java 26.4}}<ref group=sound name=lock>{{Bug|MC-98316||Wrong subtitles caused by missing distinction}}</ref>
|source=block
|source=block
|description=When a player attempts to open a barrel locked using the {{nbt|compound|lock}} tag
|description=When a player attempts to open a barrel locked using the {{nbt|compound|lock}} tag
Line 121: Line 122:
|volume=1.0
|volume=1.0
|pitch=1.0
|pitch=1.0
| distance = 16
|distance=16
}}
}}
}}
}}
Line 173: Line 174:
|foot=1}}
|foot=1}}
{{ID table
{{ID table
|edition=java
|displayname=Block entity
|displayname=Block entity
|spritename=Barrel
|spritename=Barrel
Line 193: Line 195:
|foot=1}}
|foot=1}}
{{ID table
{{ID table
|edition=bedrock
|notnamespaced=y
|notnamespaced=y
|displayname=Block entity
|displayname=Block entity
Line 269: Line 272:
|{{HistoryLine||1.20.3|exp=Update 1.21|dev=23w45a|Barrels containing loot now generate in [[Minecraft:trial chambers]].}}
|{{HistoryLine||1.20.3|exp=Update 1.21|dev=23w45a|Barrels containing loot now generate in [[Minecraft:trial chambers]].}}
|{{HistoryLine||1.21.2|dev=24w33a|Empty barrels now generate beneath [[Minecraft:hopper]]s at chamber entrances in trial chambers.}}
|{{HistoryLine||1.21.2|dev=24w33a|Empty barrels now generate beneath [[Minecraft:hopper]]s at chamber entrances in trial chambers.}}
|{{HistoryLine|java upcoming}}
|{{HistoryLine||26.3|dev=snap1|Barrels containing loot now generate in [[Minecraft:abandoned camp]]s.}}
|{{HistoryLine||26.3|dev=snap1|Barrels containing loot now generate in [[Minecraft:abandoned camp]]s.}}
}}
}}
Line 286: Line 288:
|{{HistoryLine||1.20.10|dev=Preview 1.20.10.20|The crafting recipe for barrels now uses [[Minecraft:planks]] instead of [[Minecraft:stick]]s to match {{JE}}.}}
|{{HistoryLine||1.20.10|dev=Preview 1.20.10.20|The crafting recipe for barrels now uses [[Minecraft:planks]] instead of [[Minecraft:stick]]s to match {{JE}}.}}
|{{HistoryLine||26.40|dev=Preview 26.40.27|exp=Drop 3 of 2026|Barrels containing loot now generate in [[Minecraft:abandoned camp]]s.}}
|{{HistoryLine||26.40|dev=Preview 26.40.27|exp=Drop 3 of 2026|Barrels containing loot now generate in [[Minecraft:abandoned camp]]s.}}
|{{HistoryLine|upcoming bedrock}}
|{{HistoryLine||26.50|dev=Preview 26.50.22|All features from the "Drop 3 of 2026" experiment have been fully implemented.}}
|{{HistoryLine||26.50|dev=Preview 26.50.22|All features from the "Drop 3 of 2026" experiment have been fully implemented.}}
}}
}}
Line 356: Line 357:
=== Mojang screenshots ===
=== Mojang screenshots ===
<gallery>
<gallery>
File:LadyAgnes savanna village.jpg|First image of barrels in a [[Minecraft:savanna]] [[Minecraft:village]].
File:LadyAgnes savanna village.jpg|First image of barrels in a [[Minecraft:savanna]] [[Minecraft:village]]
File:Barrel Alignment.jpg|Barrels placed next to each other facing opposite directions.
File:Barrel Alignment.jpg|Barrels placed next to each other facing opposite directions
File:Blast Furnace Smoker & Barrel.jpg|A [[Minecraft:blast furnace]], [[Minecraft:smoker]], and a barrel.
File:Blast Furnace Smoker & Barrel.jpg|A [[Minecraft:blast furnace]], a [[Minecraft:smoker]], and a barrel
File:Barrel-ingame.jpeg
File:Barrel-ingame.jpeg
</gallery>
</gallery>
Line 364: Line 365:
=== In other media ===
=== In other media ===
<gallery>
<gallery>
File:Barrel-header.jpeg|A stack of barrels.
File:Barrel-header.jpeg|A stack of barrels
File:Barrel 3DShareware.gif|A [[Minecraft:bonus barrel]], which randomly generates throughout the world in the [[Minecraft:Java Edition 3D Shareware v1.34|April Fool's update]] 2019.
File:Barrel 3DShareware.gif|A [[Minecraft:bonus barrel]], which randomly generates throughout the world in the [[Minecraft:Java Edition 3D Shareware v1.34|April Fool's update]] 2019
File:Vision in Barrel.png|Player's vision while hiding inside a barrel in the [[Minecraft:Java Edition 22w13oneBlockAtATime|April Fool's update]] 2022.
File:Vision in Barrel.png|Player's vision while hiding inside a barrel in the [[Minecraft:Java Edition 22w13oneBlockAtATime|April Fool's update]] 2022
File:MCD Barrels.png|Barrels as they appear in {{MCD}}, even including a fish barrel.
File:MCD Barrels.png|Barrels as they appear in {{MCD}}, even including a fish barrel
File:Barrel MV.png|A barrel as it appeared on the [[Minecraft:2022 Mob Vote Event]].
File:Barrel MV.png|A barrel as it appeared on the [[Minecraft:2022 Mob Vote Event]]
File:Barrel MCC Event.png|A barrel as it appeared in the [[Minecraft:MCC x Minecraft 15th Anniversary Party]].
File:Barrel MCC Event.png|A barrel as it appeared in the [[Minecraft:MCC x Minecraft 15th Anniversary Party]]
File:Cubeez 2025 Barrel.png|[[Minecraft:Cubeez]] of a barrel.
File:Cubeez 2025 Barrel.png|[[Minecraft:Cubeez]] of a barrel
File:A Barrel.png|Barrels as they appear in {{AMCM}}.
File:A Barrel.png|Barrels as they appear in {{AMCM}}
</gallery>
</gallery>



Latest revision as of 11:03, 11 October 2026

Template:Infobox block A barrel is a solid Minecraft:block used to store Minecraft:items. Unlike a Minecraft:chest, it cannot connect to other barrels. It also serves as a Minecraft:fisherman's Minecraft:job site block.

Obtaining

Breaking

Barrels can be mined with or without any Minecraft:tool, but Minecraft:axes are the quickest.

Template:Breaking row

Natural generation

Empty barrels can generate naturally in fisher cottages in Minecraft:villages. Up to 3 barrels can generate in a village fisher cottage.

In Minecraft:trial chambers, barrels containing loot can be found in the corridors, and empty barrels can be found beneath Minecraft:hoppers at chamber entrances.

Barrels containing loot can be found in Minecraft:abandoned camps.

Generated loot

Template:LootChestItem

Crafting


Template:Crafting

Usage

Barrels can be moved by Minecraft:pistons.Template:Only Minecraft:Water and Minecraft:lava flow around barrels without affecting them. Lava can create Minecraft:fire in air blocks next to barrels as if the barrel was flammable, but the barrel does not actually catch fire and can't burn away.

Container

File:Barrel GUI.png
The GUI of the barrel.

Barrels have a container inventory with 27 slots, which is the same as a single Minecraft:chest. Unlike chests, the action of opening a barrel is never prevented. They can be filled by Minecraft:droppers and both filled and emptied by Minecraft:hoppers. When broken, barrels drop the contents of the container and the barrel item itself.

To open the barrel interface, use the Template:Control control. To move items between the barrel inventory and the player inventory or hotbar while the barrel interface is open, drag or shift-click the items. Holding Template:Key and double-clicking while holding an item moves all items of the type clicked on in or out of the barrel to the extent that space is available for them.Template:Only To exit the barrel interface, use the Template:Key control.

By default, the interface of a barrel is labeled "Barrel". A barrel's GUI label can be changed by naming the barrel in an Minecraft:anvil before placing it or by using the Template:Cmd commandTemplate:Only (for example, to label a barrel at (0,64,0) as "Bonus Barrel!", use Template:Cmd).

Template:IN, a barrel can be "locked" by setting its lock tag using the Template:Cmd command. If a barrel's lock tag is not blank, the barrel cannot be opened unless the player is holding an item that matches the item predicate in the lock tag. For example, to lock a barrel at (0,64,0) so that the barrel cannot be opened unless the player is holding an item named "Barrel Key", use Template:Cmd.

Profession

Template:Main If a barrel has not been claimed by a Minecraft:villager, any nearby unemployed villager has a chance to change their profession to fisherman and claim the barrel as their Minecraft:job site block.

Fuel

Barrels can be used as a fuel in Minecraft:furnaces, smelting 1.5 items per block.

Piglins

Minecraft:Piglins become hostile toward players who open or break barrels.

Sounds

Generic

Template:Sound table/Block/Wood

Unique

Template:Edition Template:SoundTable

Template:Edition: Template:SoundTable

Data values

ID

Template:JE: Template:ID table Template:ID table

Template:BE: Template:ID table Template:ID table

Block states

Template:See also

Template:JE: Template:Bst Template:Bst

Template:BE: Template:Bst Template:Bst

Block data

A barrel has a block entity associated with it that holds additional data about the block.

Template:JE: Template:See also

<section begin="block data" />

<section end="block data" />

Template:BE:

See Minecraft:Bedrock Edition level format/Block entity format.

Videos

Template:Yt

History

Template:See asset history

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

PlayStation 4 Edition

Template:HistoryTable

Issues

Template:Issue list

Trivia

File:Alex wearing Barrel.png
Alex wearing a barrel


Gallery

Render

Close

Template:JE

Template:BE

Open

Template:JE

Template:BE

Mojang screenshots

In other media

External links

Navigation

Template:Navbox blocks

Minecraft:cs:Sud Minecraft:de:Fass Minecraft:es:Barril Minecraft:fr:Tonneau Minecraft:it:Barile Minecraft:ja:樽 Minecraft:ko:통 Minecraft:lzh:木桶 Minecraft:pl:Beczka Minecraft:pt:Barril Minecraft:ru:Бочка Minecraft:uk:Діжка Minecraft:zh:木桶