Minecraft:Barrel
More actions
Template:Infobox block A barrel is a solid Minecraft:block used to store Minecraft:items. Unlike a Minecraft:chest, it cannot connect to other barrels. It also serves as a fisherman's job site block.
Obtaining
Breaking
Barrels can be mined with or without any Minecraft:tool, but Minecraft:axes are the quickest.
Script error: No such module "breaking row".
Natural generation
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 Minecraft:hoppers at chamber entrances.
Generated loot
Script error: No such module "lootChest".
Crafting
Usage
Barrels can be moved by Minecraft:pistons.Template:Only Minecraft:Water and Minecraft:lava flow around barrels without affecting them. Lava can create Minecraft: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
Barrels have a container inventory with 27 slots, which is the same as a single Minecraft:chest. Unlike chests, the action of opening a barrel is never prevented. They can be filled by Minecraft:droppers and both filled and emptied by Minecraft:hoppers. When broken, barrels drop the contents of the container and the barrel item itself.
To open the barrel interface, use the {{#vardefine: control | right click on mouse or left trigger on gamepad }}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
- REDIRECT Template:Keys
Template:Redr 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.Template:Only To exit the barrel interface, use the
- REDIRECT Template:Keys
Template:Redr 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 Minecraft:anvil before placing it or by using the
- REDIRECT Template:Command
Template:Redr commandTemplate:Only (for example, to label a barrel at (0,64,0) as "Bonus Barrel!", use Template:Cmd).
in Template:Editions, a barrel can be "locked" by setting its lock tag using the
- REDIRECT Template:Command
Template:Redr 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 Template:Cmd.
Profession
{{#vardefine:params|0 }}Template:Hatnote If a barrel has not been claimed by a Minecraft:villager, any nearby unemployed villager has a chance to change their profession to fisherman and claim the barrel as their job site block.
Fuel
Barrels can be used as a fuel in Minecraft:furnaces, smelting 1.5 items per block.
Note blocks
Barrels can be placed under note blocks to produce "bass" sounds.
Piglins
Minecraft:Piglins become hostile toward players who open or break barrels.
Sounds
Generic
Template:Edition: Template:Sound table/Block/Wood/JE
Template:Edition: Template:Sound table/Block/Wood/BE
Unique
Template:!((Java EditionTemplate:))! Template:SoundTable
Template:!((Bedrock EditionTemplate:))!: Template:SoundTable
Data values
ID
Java Edition: Template:ID table Template:ID table
Bedrock Edition: Template:ID table Template:ID table
Block states
{{#vardefine:params|0 }}Template:Hatnote
Java Edition: Template:Bst Template:Bst
Bedrock Edition: Template:Bst Template:Bst
Block data
A barrel has a block entity associated with it that holds additional data about the block.
Java Edition: {{#vardefine:params|0 }}Template:Hatnote
<section begin="block data" />
- Template:Nbt/sprite Block entity data
- REDIRECT Template:Nbt inherit/lockable
- REDIRECT Template:Nbt inherit/lootable
- Template:Nbt/sprite Items: List of items in the container. Represents the Template:DCL component. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
- Template:Nbt/sprite: An item, including the slot tag. Barrel slots are numbered 0-26, 0 starts in the top left corner.
- Template:Nbt/sprite Items: List of items in the container. Represents the Template:DCL component. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
<section end="block data" />
Videos
- REDIRECT Template:YouTube
History
Java Edition
Bedrock Edition
PlayStation 4 Edition
-
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 Minecraft:Ore UI.
Issues
Script error: No such module "Issue list".
Trivia
- 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
Render
Close
-
Up
-
Down
-
South
-
West
-
North
-
East
-
Up
-
Down
-
South
-
West
-
North
-
East
Open
-
Up
-
Down
-
South
-
West
-
North
-
East
-
Up
-
Down
-
South
-
West
-
North
-
East
Mojang screenshots
-
First image of barrels in a savanna village.
-
Barrels placed next to each other facing opposite directions.
-
A blast furnace, Minecraft:smoker, and a barrel.
In other media
-
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 Minecraft:MCC x Minecraft 15th Anniversary Party.
-
Cubeez of a barrel.
-
Barrels as they appear in
- REDIRECT Template:AMCM
External links
Template:Article otherTemplate:Article other
cs:Sud de:Fass es:Barril fr:Tonneau it:Barile ja:樽 ko:통 lzh:木桶 pl:Beczka pt:Barril ru:Бочка uk:Діжка zh:木桶