Barrel

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

Type

Tile Entity

Requirements

None

Physics

No

Transparency

Yes

Luminance

No

Blast resistance

?

Hardness

?

Tool


Renewable

No

Stackable

Yes (64)

Flammable

No, but catches fire from lava

First appearances

See History

Drops

Itself

Block Entity ID

barrel

Name

barrel

This article is a stub.
Please help us by expanding it.
Java Edition.pngMclogo.svg
Grass Block.svg
This page contains content on features that may be included in the next update.
These features have appeared in development versions, but the full update containing these features has not been released yet.

Barrels are tile entity storage blocks generating in villages.

Obtaining[edit]

Natural generation[edit]

Barrels can generate naturally in fisher cottages in plains, savanna, and snowy tundra villages.‌[Java Edition only]

Usage[edit]

Barrels have the inventory of a chest. They have a GUI similar to that of chests as well, but can only be accessed in spectator mode; they can be filled by droppers and both filled and emptied by hoppers. Barrels currently do not drop the items they contain when they are broken.

Data values[edit]

Block states[edit]

See also: Block states
Name Value Description

 facing
north
east
south
west
up
down
The direction the barrel is facing.

Block entity[edit]

See also: Block entity format

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, 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.14 18w44a Added 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.
18w47b Changed the facing=south block state.
18w48a Barrels can now generate naturally in plains villages.
Upcoming Bedrock Edition
1.9 beta 1.9.0.2 Added barrels.
Barrels have unused textures titled "fish barrel".

Issues[edit]

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

Gallery[edit]

References[edit]