Barrel

From Box of Rocks WIKI
Revision as of 13:12, 13 May 2021 by BoxWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Barrel
Renewable

Yes

Stackable

Yes (64)

Tool

Blast resistance

2.5

Hardness

2.5

Luminant

No

Transparent

No

Flammable

No

Catches fire from lava

Yes

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.

Obtaining

Natural generation

Empty barrels can generate naturally in fisher cottages in villages.

Breaking

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

Block Barrel
Hardness 2.5
Tool
Breaking time[FN 1]
Default 3.75
Wooden 1.9
Stone 0.95
Iron 0.65
Diamond 0.5
Netherite 0.45
Golden 0.35
  1. Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.

Chest loot

Item Structure Container Quantity Chance
Java Edition
Barrel Village Fisherman's chest 1–3 24.2%

Crafting

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

[Java Edition only]
Barrel Stick +
Any wood Slab

[Bedrock Edition only]

Usage

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 be burned.

Container

Barrels have a container inventory with 27 slots, which is the same as 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 Edition 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‌[Java Edition only] (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"}.

Changing profession

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.‌

Fuel

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

Note Blocks

Barrels can be placed under note blocks to produce "bass" sound.

Piglins

Piglins become hostile toward players who open or break barrels.

Sounds

Generic

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
File:Wood dig1.oggFile:Wood dig2.oggFile:Wood dig3.oggFile:Wood dig4.oggBlock brokenBlocksOnce the block has brokenblock.wood.breaksubtitles.block.generic.break1.00.816
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggNone[sound 1]BlocksFalling on the block with fall damageblock.wood.fallNone[sound 1]0.50.7516
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggBlock breakingBlocksWhile the block is in the process of being brokenblock.wood.hitsubtitles.block.generic.hit0.250.516
File:Wood dig1.oggFile:Wood dig2.oggFile:Wood dig3.oggFile:Wood dig4.oggBlock placedBlocksWhen the block is placedblock.wood.placesubtitles.block.generic.place1.00.816
File:Wood hit1.oggFile:Wood hit2.oggFile:Wood hit3.oggFile:Wood hit4.oggFile:Wood hit5.oggFile:Wood hit6.oggFootstepsBlocksWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016

Bedrock Edition:

SoundSourceDescriptionNamespaced IDVolumePitch
?BlocksOnce the block has brokendig.wood1.00.8
?BlocksFalling on the block with fall damagefall.wood0.41.0
?BlocksWhile the block is in the process of being brokenhit.wood0.230.5
?BlocksJumping from the blockjump.wood0.121.0
?BlocksFalling on the block without fall damageland.wood0.181.0
?BlocksWalking on the blockstep.wood0.31.0
?BlocksWhen the block is placeduse.wood1.00.8

Unique

Java Edition:

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
File:Barrel close.oggBarrel closesBlocksClosing the barrelblock.barrel.closesubtitles.block.barrel.close1.01.016
File:Barrel open1.oggFile:Barrel open2.oggBarrel opensBlocksOpening the barrelblock.barrel.opensubtitles.block.barrel.open1.01.016

Data values

ID

Java Edition:

NameNamespaced IDBlock tags (JE)FormTranslation key
Barrelbarrelguarded_by_piglinsBlock & Itemblock.minecraft.barrel
NameNamespaced ID
Block entitybarrel

Bedrock Edition:

NameNamespaced IDNumeric ID FormTranslation key
Barrelbarrel457Block & Itemtile.barrel.name
NameSavegame ID
Block entityBarrel

Metadata

See also: Data values

In Bedrock Edition, barrels use the following data values:

Template:/DV

Block states

See also: Block states

Template:/BS

Block data

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

Template:/BE

History

Java Edition
1.1418w44a32px Added barrels.
Barrels have been added to creative inventory.
Barrels currently have the inventory of a chest.
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.
18w47bThe facing=south block state texture of barrels has been changed.Template:More info
18w48aBarrel items are now found in chests in village fisher cottages.
Barrels can now generate naturally in plains villages.
18w49aBarrels can now generate naturally in savanna and snowy tundra villages.
18w50aBarrels 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.
19w03aSounds have been added for barrels.
19w07a32px An open block state has been added to barrels.
1.1620w15aPiglins now become hostile toward players who open or break barrels.
Bedrock Edition
1.9.0beta 1.9.0.232px 32px[verify] Added barrels.
32px Barrels have unused textures titled "fish barrel."
32px Barrels have unused textures titled "empty barrel."
A barrel can be used to smelt 1.5 items in a furnace.
1.10.0beta 1.10.0.3A 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.0beta 1.11.0.1The functionality of barrels has been added.
PlayStation 4 Edition
1.9132px 32px Added barrels.

Issues

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

Gallery

References

cs:Sud de:Fass fr:Tonneau it:barile ja:樽 ko:통 pl:Beczka pt:Barril ru:Бочка zh:木桶