Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Barrel

From Minecraft Wiki
Jump to: navigation, search
Barrel
Barrel JE1 BE1.png
Open Barrel JE1 BE1.png
Transparent

Yes

Luminance

No

Blast resistance

12.5

Hardness

2.5

Tool

Renewable

Yes

Stackable

Yes (64)

Flammable

No

Catches fire from lava

Yes

Drops
Block entity ID

barrel

Namespaced ID

barrel

Information icon.svg
This feature is exclusive to Java Edition, Bedrock Edition and PlayStation 4 Edition.

A barrel is a fisherman's job site block, used to store items. It functions like a single chest although it requires no air space above it to be opened.

Natural generation[edit]

Barrels can generate naturally in fisher cottages in villages.

Obtaining[edit]

Chest loot[edit]

Barrels can be found in 24.2% of village fisherman chests in stacks of 1–3.‌[Java Edition only]

Crafting[edit]

Name Ingredients Crafting recipe Description
Barrel Any Planks +
Any Wood Slab

[Java Edition only]
Barrel Stick +
Any Wood Slab

[Bedrock and PlayStation 4 editions only]

Usage[edit]

Barrels can be moved by pistons,‌[Bedrock Edition only] and 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 be burned whatsoever).

Container[edit]

Barrels have a container inventory with 27 slots, similar to a single chest. 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 GUI, use the Use Item control. To move items between the barrel inventory and the player inventory or hotbar while the barrel GUI 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 and PlayStation 4 editions only] To exit the barrel GUI, use the Esc control.

Unlike chests, a barrel can be placed below a solid block and still be able to be opened.

By default, the GUI 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 (for example, to label a chest 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 with the same name as the Lock tag's text. 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:"Barrel Key"}.

Fuel[edit]

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

Changing profession[edit]

If a village has a barrel that has not been claimed by a villager, any villager who does not have a chosen job site block has a chance to change their profession into a fisherman.‌


Sounds[edit]

Sound Subtitle Namespaced ID Subtitle ID Source Pitch Volume Attenuation distance
Block breaking block.wood.hit subtitles.block.generic.hit Blocks 0.5 0.25 16
Block broken block.wood.break subtitles.block.generic.break Blocks 0.8 1.0 16
Block placed block.wood.place subtitles.block.generic.place Blocks 0.8 1.0 16
Footsteps block.wood.step subtitles.block.generic.footsteps Blocks 1.0 0.15 16
No subtitle block.wood.fall (Plays when fallen on from a height) Blocks 0.75 0.5 16
Barrel closes block.barrel.close subtitles.block.barrel.close Blocks 1.0 1.0 16
Barrel opens block.barrel.open subtitles.block.barrel.open Blocks 1.0 1.0 16

Data values[edit]

Block states[edit]

Java Edition:

Name Default value Allowed values Description
facingnorthdown
east
north
south
up
west
The direction the barrel is facing.
openfalsefalse
true
Whether the barrel is currently being looked at by a player; changes the texture on the top face.

Block entity[edit]

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

  • Block entity data
    • Tags common to all block entities see Template:Nbt inherit/blockentity/template
    •  CustomName: Optional. The name of this container in JSON text component, which display in its GUI where the default name ordinarily appears.
    •  Lock: Optional. When not blank, prevents the container from being opened unless the opener is holding an item whose name matches this string.
    •  Items: List of items in the container.
    •  LootTable: Optional. Loot table to be used to fill the barrel when it is next opened, or the items are otherwise interacted with.[note 1]
    •  LootTableSeed: Optional. Seed for generating the loot table. 0 or omitted will use a random seed.[note 1]
  1. a b Both loot table tags will be removed once the items have been generated.

History[edit]

Java Edition
1.1418w44aBarrel JE1 BE1.png Added barrels.
Added to creative inventory.
Barrels currently have the inventory of a chest.
Barrels can currently only be filled by hoppers and droppers.
Barrels can currently only be emptied by hoppers.
Barrels currently do not drop the items they contain when broken.
18w47bThe facing=south block state texture has now been changed.[more information needed]
18w48aBarrels can now generate naturally in plains villages.
18w49aBarrels can now generate naturally in savanna and snowy taiga villages.
18w50aBarrels 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.
19w03aAdded sounds for barrels.
19w07aOpen Barrel JE1 BE1.png Added the open block state.
Bedrock Edition
1.9.0beta 1.9.0.2Barrel JE1 BE1.png Open Barrel JE1 BE1.png Added barrels.
Barrels have unused textures titled "fish barrel".
A barrel can be used to smelt 1.5 items in a furnace.
1.10.0beta 1.10.0.3Added crafting recipe for the barrel, which is different compared from Java Edition's crafting recipe.
Barrels now generate in fisher cottages in villages.
1.11.0beta 1.11.0.1Added barrel functionality.
PlayStation 4 Edition
1.91Barrel JE1 BE1.png Open Barrel JE1 BE1.png Added barrels.

Issues[edit]

Issues relating to "Barrel" are maintained on the bug tracker. Report issues there.

Gallery[edit]

References[edit]