Barrel

From Minecraft Wiki
Jump to: navigation, search
Barrel
Barrel.pngOpen Barrel.png
Type

Tile Entity

Requirements

None

Physics

No

Transparency

Yes

Luminance

No

Blast resistance

?

Hardness

2.5

Tool

Renewable

Yes

Stackable

Yes (64)

Flammable

No, but catches fire from lava

Drops

Itself

Sounds
Block Entity ID

barrel

Name

barrel

Java Edition.pngMclogo.svg
Grass Block.svg
This page contains content on features that may be included in the next update to Java Edition.
These features have appeared in Java Edition development versions, but the full update containing these features has not been released to Java Edition yet.

Barrels are block entities used to store items.

Obtaining[edit]

Natural generation[edit]

Barrels can generate naturally in fisher cottages in villages.

Crafting[edit]

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

[Java Edition only]
Barrel Stick +
Any Wood Slab

[Bedrock Edition only]

Usage[edit]

Container[edit]

In Bedrock Edition, barrels have a container inventory 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. Unlike chests, a barrel can be placed below a solid block and still be able to be opened.

Fuel[edit]

Barrels can be used as a fuel in furnaces, smelting 1.5 items per block.‌[Bedrock Edition only]

Changing profession[edit]

If a village has a barrel and there is no fisherman villager in the village, any villager who does not have a chosen workstation has a chance to change their profession into a fisherman.‌

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 will display in its GUI where the default name ordinarily is.
    •  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]

Upcoming Java Edition
1.1418w44aAdded barrels.
Barrels are currently only obtainable from the 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 will not drop the items they contain when broken.
18w47bChanged the facing=south block state.
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 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.
19w07aAdded the open block state.
Bedrock Edition
1.9.0beta 1.9.0.2Added 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.
Barrels now generate in fisher cottages in villages.
Upcoming Bedrock Edition
1.11.0beta 1.11.0.1Added barrel functionality.

Issues[edit]

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

Gallery[edit]

Trivia[edit]

References[edit]