Barrel
| Renewable |
Yes |
|---|---|
| Stackable |
Yes (64) |
| Tool | |
| Blast resistance |
2.5 |
| Hardness |
2.5 |
| Luminous |
No |
| Transparent |
No |
| Flammable |
No |
| Catches fire from lava |
Yes |
| Map color (JE) |
|
{
"title": "Barrel",
"rows": [
{
"field": "Yes",
"label": "(link to Renewable resource article, displayed as Renewable)"
},
{
"field": "Yes (64)",
"label": "Stackable"
},
{
"field": "<span class=\"sprite-file\" style=\"height:32px;width:32px;--vertical-align:middle\">(link to File:SlotSprite Axe Required.png article, displayed as 32x32px|link=Axe|alt=|class=pixel-image|This block can be broken with any tool, but an axe is the quickest)</span>",
"label": "Tool"
},
{
"field": "2.5",
"label": "(link to Explosion#Blast resistance article, displayed as Blast resistance)"
},
{
"field": "2.5",
"label": "(link to Breaking#Blocks by hardness article, displayed as Hardness)"
},
{
"field": "No",
"label": "(link to Light article, displayed as Luminous)"
},
{
"field": "No",
"label": "(link to Opacity article, displayed as Transparent)"
},
{
"field": "No",
"label": "(link to Flammable article, displayed as Flammable)"
},
{
"field": "Yes",
"label": "Catches fire<br>from (link to lava article, displayed as lava)"
},
{
"field": "<span style=\"display: inline-block; white-space: nowrap;\"><span style=\"display: inline-block; background-color: rgb(143, 119, 72); border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> 13 WOOD</span>",
"label": "(link to Map color article, displayed as Map color) <small>((link to Java Edition article, displayed as ''JE''))</small>"
}
],
"invimages": [
"Barrel"
],
"images": [
"Barrel.png",
"Open_Barrel.png"
]
}
A barrel is a solid block used to store items. Unlike a chest, it cannot connect to other barrels. It also serves as a fisherman's job site block.
Obtaining
[edit | edit source]Breaking
[edit | edit source]Barrels can be mined with or without any tool, but axes are the quickest.
| Block | ||
|---|---|---|
| Hardness | 2.5 | |
| Tool | ||
| Breaking time (sec)[A] | ||
| Default | 3.75 | |
| 1.9 | ||
| 0.95 | ||
| 0.75 | ||
| 0.65 | ||
| 0.5 | ||
| 0.45 | ||
| 0.35 | ||
- incorrect tool, drops nothing
- correct tool, drops nothing or something other than the block itself
- correct tool, drops the block itself
- italicized can be instant mined
- ↑ These durations ignore any other influential factors (e.g., Mining Fatigue) and are measured in seconds. For more information, see Breaking § Speed.
Natural generation
[edit | edit source]Empty barrels can generate naturally in fisher cottages in villages. Up to 3 barrels can generate in a village fisher cottage.
In trial chambers, barrels containing loot can be found in the corridors, while empty barrels generate beneath hoppers at chamber entrances.
Generated loot
[edit | edit source]| Item | Structure | Container | Quantity | Chance |
|---|---|---|---|---|
| Java Edition | ||||
| Fisherman's chest | 1–3 | 24.2%{ "item": "Barrel", "stacksize": "1–3", "chance": 0.2418426461183103, "structure": "Village", "container": "Fisherman's chest" }
| ||
Crafting
[edit | edit source]| Ingredients | Crafting recipe |
|---|---|
| Any Planks + Any Wooden Slab |
Usage
[edit | edit source]Barrels can be moved by pistons.[Bedrock Edition only] Water and lava flow around barrels without affecting them. Lava can create 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
[edit | edit source]
Barrels have a container inventory with 27 slots, which is the same as a single chest. Unlike chests, the action of opening a barrel is never prevented. They can be filled by droppers and both filled and emptied by hoppers. When broken, barrels drop the contents of the container and the barrel item itself.
To open the barrel interface, use the 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 ⇧ 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.[Java Edition only] To exit the barrel interface, use the Esc 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 anvil before placing it or by using the /data command[Java Edition only] (for example, to label a barrel at (0,64,0) as "Bonus Barrel!", use /data merge block 0 64 0 {CustomName:'"Bonus Barrel!"'}).
In Java Edition, a barrel can be "locked" by setting its lock tag using the /data 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 /data merge block 0 64 0 {lock:{components:{"custom_name":"Barrel Key"}}}.
Profession
[edit | edit source]If a barrel has not been claimed by a villager, any nearby unemployed villager has a chance to change their profession to fisherman and claim the barrel as their job site block.
Fuel
[edit | edit source]Barrels can be used as a fuel in furnaces, smelting 1.5 items per block.
Note blocks
[edit | edit source]Barrels can be placed under note blocks to produce "bass" sounds.
Piglins
[edit | edit source]Piglins become hostile toward players who open or break barrels.
Sounds
[edit | edit source]Generic
[edit | edit source]wood sound type | ||||||||
|---|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch | Attenuation distance |
| Block broken | Blocks | Once the block has broken | block | subtitles | 1.0 | 0.8 | 16 | |
| Block placed | Blocks | When the block is placed | block | subtitles | 1.0 | 0.8 | 16 | |
| Block breaking | Blocks | While the block is in the process of being broken | block | subtitles | 0.25 | 0.5 | 16 | |
| Something falls on a block | Entity-Dependent | Falling on the block with fall damage | block | subtitles | 0.5 | 0.75 | 16 | |
| Footsteps | Entity-Dependent | Walking on the block | block | subtitles | 0.15 | 1.0 | 16 | |
wood sound type | |||||||
|---|---|---|---|---|---|---|---|
| Sound | Closed captions [upcoming] | Source | Description | Identifier | Translation key [upcoming] | Volume | Pitch |
| Block broken | Blocks | Once the block has broken | dig | subtitles | 1.0 | 0.8-1.0 | |
| Block placed | Blocks | When the block is placed | digplace.wood[upcoming BE 26.10] | subtitles | 1.0 | 0.8 | |
| Axe strips | Blocks | When an axe strips a log or wood block | use | subtitles | 1.0 | 0.8 | |
| Block breaking | Blocks | While the block is in the process of being broken | hit | subtitles | 0.23 | 0.5 | |
| Footsteps | Players | Falling on the block with fall damage | fall | subtitles | 0.4 | 1.0 | |
| Footsteps | Players | Walking on the block | step | subtitles | 0.3 | 1.0 | |
| Footsteps | Blocks | Jumping from the block | jump | subtitles | 0.12 | 1.0 | |
| Footsteps | Blocks | Falling on the block without fall damage | land | subtitles | 0.18 | 1.0 | |
Unique
[edit | edit source]| Sounds | ||||||||
|---|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch | Attenuation distance |
| Barrel closes | Blocks | When a barrel closes | block | subtitles | 0.5 | 0.9-1.0 | 16 | |
| Barrel opens | Blocks | When a barrel opens | block | subtitles | 0.5 | 0.9-1.0 | 16 | |
| Fisherman works | Friendly Mobs | Randomly while a fisherman is working | entity | subtitles | 1.0 | 0.8-1.2 | 16 | |
| Chest locked[sound 1] | Blocks | When a player attempts to open a barrel locked using the [NBT Compound / JSON Object] lock tag | block[sound 1] | subtitles[sound 1] | 1.0 | 1.0 | 16 | |
| Sounds | |||||||
|---|---|---|---|---|---|---|---|
| Sound | Closed captions [upcoming] | Source | Description | Identifier | Translation key [upcoming] | Volume | Pitch |
| ? | Blocks | When a barrel closes | block | ? | 1.0 | 1.0 | |
| ? | Blocks | When a barrel opens | block | ? | 1.0 | 1.0 | |
| ? | Blocks | Randomly while a fisherman is working | block | ? | 1.0 | 1.0 | |
Data values
[edit | edit source]ID
[edit | edit source]| Name | Identifier | Form | Block tags | Translation key |
|---|---|---|---|---|
barrel | Block & Item | guarded_by_piglins |
block |
| Name | Identifier |
|---|---|
barrel |
| Name | Identifier | Numeric ID | Form | Item ID[i 1] | Block tags | Translation key |
|---|---|---|---|---|---|---|
barrel | 458 | Block & Giveable Item[i 2] | Identical[i 3] | minecraft:is_axe_item_destructiblewood |
tile |
| Name | Savegame ID |
|---|---|
Barrel |
Block states
[edit | edit source]| Name | Default value | Allowed values | Description |
|---|---|---|---|
| facing | north | downeastnorthsouthupwest | The direction the barrel is facing. |
| open | false | falsetrue | Whether the barrel is currently being looked at by a player; changes the texture on the top face. |
| Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
|---|---|---|---|---|---|
| facing_direction | 0x10x20x4 | 0 | 012345 | 012345 | The direction the barrel is facing.
|
| open_bit | 0x8 | 0 | 01 | 01 | Whether the barrel is currently being looked at by a player; changes the texture on the top face. |
Block data
[edit | edit source]A barrel has a block entity associated with it that holds additional data about the block.
- [NBT Compound / JSON Object] Block entity data
- Tags common to all block entities see Template:Nbt inherit/blockentity/template
- Tags common to all objects that can be renamed see Template:Nbt inherit/nameable/template
- Tags common to all containers that can be locked see Template:Nbt inherit/lockable/template
- Tags common to all objects that use loot tables to produce items see Template:Nbt inherit/lootable/template
- [NBT List / JSON Array] Items: List of items in the container. Represents the
minecraft:containercomponent. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).- [NBT Compound / JSON Object]: An item, including the slot tag. Barrel slots are numbered 0-26, 0 starts in the top left corner.
- An item stack in a container slot see Template:Nbt inherit/item/template
- [NBT Compound / JSON Object]: An item, including the slot tag. Barrel slots are numbered 0-26, 0 starts in the top left corner.
Videos
[edit | edit source]History
[edit | edit source]Java Edition
[edit | edit source]| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.14 | 18w44a | ||||||
| Barrels have been added to the Creative inventory. | |||||||
| Barrels currently have the inventory of a chest, but there is no way to view this in-game. | |||||||
| Barrels can currently be filled only by hoppers and droppers. | |||||||
| Barrels can currently be emptied only by hoppers. | |||||||
| Barrels currently do not drop the items they contain when broken. | |||||||
| 18w47b | facing=south block state texture of barrels has been changed. | ||||||
| 18w48a | Barrel items are now found in chests in village fisher cottages. | ||||||
| Barrels can now generate naturally in villages in plains. | |||||||
| 18w49a | Barrels can now generate naturally in savanna and snowy villages. | ||||||
| 18w50a | Barrels can now generate naturally in desert and taiga villages. | ||||||
| Barrels now act as a storage unit. | |||||||
| Barrels can now be used in tight spaces, even if there is a block above it, unlike a chest. | |||||||
| Barrels can now be crafted using 6 wood planks and 2 wood slabs. | |||||||
| 19w03a | Sounds have been added for barrels. | ||||||
| 19w07a | open block state has been added to barrels. | ||||||
| 19w11a | Barrels now serve as fisherman villagers' job site block. | ||||||
| 1.16 | 20w06a | Crimson planks and warped planks can now be used to craft barrels. | |||||
| 20w15a | Piglins now become hostile toward players who open or break barrels. | ||||||
| 1.18 | pre5 | ||||||
| 1.19 | 22w11a | Mangrove planks can now be used to craft barrels. | |||||
| 1.19.3 Experiment | 22w42a | Bamboo planks can now be used to craft barrels. | |||||
| 1.19.4 Experiment | 23w07a | Cherry planks can now be used to craft barrels. | |||||
| 1.20.3 Experiment | 23w45a | Barrels containing loot now generate in trial chambers. | |||||
| 1.21.2 | 24w33a | Empty barrels now generate beneath hoppers at chamber entrances in trial chambers. | |||||
Bedrock Edition
[edit | edit source]| Bedrock Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.9.0 | beta 1.9.0.0 | ||||||
| 1.9.0 Experiment | beta 1.9.0.2 | Added barrels which are currently behind Experimental Gameplay. | |||||
| A barrel can be used to smelt 1.5 items in a furnace. | |||||||
| 1.10.0 Experiment | beta 1.10.0.3 | A crafting recipe has been added to barrels, which is different compared from Java Edition's crafting recipe. | |||||
| Barrels now generate in fisher cottages in villages. | |||||||
| 1.11.0 | beta 1.11.0.1 | The functionality of barrels has been added. | |||||
| Barrels are now available outside of Experimental Gameplay. | |||||||
| 1.18.10 | beta 1.18.10.22 | ||||||
| 1.20.10 | Preview 1.20.10.20 | The crafting recipe for barrels now use planks instead of sticks to match Java Edition. | |||||
PlayStation 4 Edition
[edit | edit source]| PlayStation 4 Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.91 | |||||||
-
A close up of barrels.
-
An unused texture of a barrel of fish, found in a Bedrock Edition resource pack template.
-
How a barrel would look if the unused texture was on its top.
-
Prototype of a barrel menu in Ore UI.
Issues
[edit | edit source]Issues relating to "Barrel" are maintained on the bug tracker. Issues should be reported and viewed there.
Trivia
[edit | edit source]
- In the 2022's April Fool's update, a barrel can be thrown onto a player and make them appear as if they were "wearing" or "hiding" under the block.
Gallery
[edit | edit source]Render
[edit | edit source]Close
[edit | edit source]-
Up
-
Down
-
South
-
West
-
North
-
East
-
Up
-
Down
-
South
-
West
-
North
-
East
Open
[edit | edit source]-
Up
-
Down
-
South
-
West
-
North
-
East
-
Up
-
Down
-
South
-
West
-
North
-
East
Mojang screenshots
[edit | edit source]-
Barrels placed next to each other facing opposite directions.
-
A blast furnace, smoker, and a barrel.
In other media
[edit | edit source]-
A stack of barrels.
-
A bonus barrel, which randomly generates throughout the world in the April Fool's update 2019.
-
Player's vision while hiding inside a barrel in the April Fool's update 2022.
-
Barrels as they appear in Minecraft Dungeons, even including a fish barrel.
-
A barrel as it appeared on the 2022 Mob Vote Event.
-
A barrel as it appeared in the MCC x Minecraft 15th Anniversary Party.
-
Cubeez of a barrel.
-
Barrels as they appear in A Minecraft Movie.
External links
[edit | edit source]- "Block of the Week: Barrel" by Duncan Geere – Minecraft.net, December 23, 2021.
