Minecraft:Barrel: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 56: | Line 56: | ||
They can be filled by [[Minecraft:dropper]]s and both filled and emptied by [[Minecraft:hopper]]s. When broken, barrels drop the contents of the container and the barrel item itself. | They can be filled by [[Minecraft:dropper]]s and both filled and emptied by [[Minecraft:hopper]]s. When broken, barrels drop the contents of the container and the barrel item itself. | ||
To open the barrel interface, use the {{control|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 {{key|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.{{only|Java}} To exit the barrel interface, use the {{key| | To open the barrel interface, use the {{control|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 {{key|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.{{only|Java}} To exit the barrel interface, use the {{key|Escape}} 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 {{cmd|data}} command{{only|Java}} (for example, to label a barrel at (0,64,0) as "Bonus Barrel!", use {{cmd|data merge block 0 64 0 <nowiki>{CustomName:'"Bonus Barrel!"'}</nowiki>}}). | 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 {{cmd|data}} command{{only|Java}} (for example, to label a barrel at (0,64,0) as "Bonus Barrel!", use {{cmd|data merge block 0 64 0 <nowiki>{CustomName:'"Bonus Barrel!"'}</nowiki>}}). | ||
| Line 356: | Line 356: | ||
=== Mojang screenshots === | === Mojang screenshots === | ||
<gallery> | <gallery> | ||
File:LadyAgnes savanna village.jpg|First image of barrels in a [[Minecraft:savanna]] [[Minecraft:village]] | File:LadyAgnes savanna village.jpg|First image of barrels in a [[Minecraft:savanna]] [[Minecraft:village]] | ||
File:Barrel Alignment.jpg|Barrels placed next to each other facing opposite directions | File:Barrel Alignment.jpg|Barrels placed next to each other facing opposite directions | ||
File:Blast Furnace Smoker & Barrel.jpg|A [[Minecraft:blast furnace]], [[Minecraft:smoker]], and a barrel | File:Blast Furnace Smoker & Barrel.jpg|A [[Minecraft:blast furnace]], a [[Minecraft:smoker]], and a barrel | ||
File:Barrel-ingame.jpeg | File:Barrel-ingame.jpeg | ||
</gallery> | </gallery> | ||
| Line 364: | Line 364: | ||
=== In other media === | === In other media === | ||
<gallery> | <gallery> | ||
File:Barrel-header.jpeg|A stack of barrels | File:Barrel-header.jpeg|A stack of barrels | ||
File:Barrel 3DShareware.gif|A [[Minecraft:bonus barrel]], which randomly generates throughout the world in the [[Minecraft:Java Edition 3D Shareware v1.34|April Fool's update]] 2019 | File:Barrel 3DShareware.gif|A [[Minecraft:bonus barrel]], which randomly generates throughout the world in the [[Minecraft:Java Edition 3D Shareware v1.34|April Fool's update]] 2019 | ||
File:Vision in Barrel.png|Player's vision while hiding inside a barrel in the [[Minecraft:Java Edition 22w13oneBlockAtATime|April Fool's update]] 2022 | File:Vision in Barrel.png|Player's vision while hiding inside a barrel in the [[Minecraft:Java Edition 22w13oneBlockAtATime|April Fool's update]] 2022 | ||
File:MCD Barrels.png|Barrels as they appear in {{MCD}}, even including a fish barrel | File:MCD Barrels.png|Barrels as they appear in {{MCD}}, even including a fish barrel | ||
File:Barrel MV.png|A barrel as it appeared on the [[Minecraft:2022 Mob Vote Event]] | File:Barrel MV.png|A barrel as it appeared on the [[Minecraft:2022 Mob Vote Event]] | ||
File:Barrel MCC Event.png|A barrel as it appeared in the [[Minecraft:MCC x Minecraft 15th Anniversary Party]] | File:Barrel MCC Event.png|A barrel as it appeared in the [[Minecraft:MCC x Minecraft 15th Anniversary Party]] | ||
File:Cubeez 2025 Barrel.png|[[Minecraft:Cubeez]] of a barrel | File:Cubeez 2025 Barrel.png|[[Minecraft:Cubeez]] of a barrel | ||
File:A Barrel.png|Barrels as they appear in {{AMCM}} | File:A Barrel.png|Barrels as they appear in {{AMCM}} | ||
</gallery> | </gallery> | ||
Revision as of 11:01, 1 September 2026
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 Minecraft:fisherman's Minecraft:job site block.
Obtaining
Breaking
Barrels can be mined with or without any Minecraft:tool, but Minecraft:axes are the quickest.
Natural generation
Empty barrels can generate naturally in fisher cottages in Minecraft:villages. Up to 3 barrels can generate in a village fisher cottage.
In Minecraft:trial chambers, barrels containing loot can be found in the corridors, and empty barrels can be found beneath Minecraft:hoppers at chamber entrances.
Barrels containing loot can be found in Minecraft:abandoned camps.Template:Upcoming
Generated loot
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 Template:Control 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 Template:Key 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 Template:Key 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 Template:Cmd commandTemplate:Only (for example, to label a barrel at (0,64,0) as "Bonus Barrel!", use Template:Cmd).
Template:IN, a barrel can be "locked" by setting its lock tag using the Template:Cmd 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
Template:Main 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 Minecraft:job site block.
Fuel
Barrels can be used as a fuel in Minecraft:furnaces, smelting 1.5 items per block.
Piglins
Minecraft:Piglins become hostile toward players who open or break barrels.
Sounds
Generic
Template:Sound table/Block/Wood
Unique
Data values
ID
Template:JE: Template:ID table Template:ID table
Template:BE: Template:ID table Template:ID table
Block states
Template:JE: Template:Bst Template:Bst
Template:BE: Template:Bst Template:Bst
Block data
A barrel has a block entity associated with it that holds additional data about the block.
Template:JE: Template:See also
<section begin="block data" />
- Template:Nbt Block entity data
- Template:Nbt inherit/blockentity
- Template:Nbt inherit/nameable
- Template:Nbt inherit/lockable
- Template:Nbt inherit/lootable
- Template:Nbt: 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: An item, including the slot tag. Barrel slots are numbered 0-26, 0 starts in the top left corner.
<section end="block data" />
Videos
History
Java Edition
Bedrock Edition
PlayStation 4 Edition
-
A close up of barrels.
-
An unused texture of a barrel of fish, found in a Template:BE Minecraft: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
Trivia
- In the 2022's April Fool's update, a barrel can be thrown onto a Minecraft: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 Minecraft:savanna Minecraft:village
-
Barrels placed next to each other facing opposite directions
-
A Minecraft:blast furnace, a Minecraft:smoker, and a barrel
In other media
-
A stack of barrels
-
A Minecraft: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 Template:MCD, even including a fish barrel
-
A barrel as it appeared on the Minecraft:2022 Mob Vote Event
-
A barrel as it appeared in the Minecraft:MCC x Minecraft 15th Anniversary Party
-
Minecraft:Cubeez of a barrel
-
Barrels as they appear in Template:AMCM
External links
Minecraft:cs:Sud Minecraft:de:Fass Minecraft:es:Barril Minecraft:fr:Tonneau Minecraft:it:Barile Minecraft:ja:樽 Minecraft:ko:통 Minecraft:lzh:木桶 Minecraft:pl:Beczka Minecraft:pt:Barril Minecraft:ru:Бочка Minecraft:uk:Діжка Minecraft:zh:木桶