Java Edition 1.18.2 item

Barrel

Barrel identifiers, stack size and item properties for Java Edition 1.18.2. Use this version-pinned reference when comparing releases or writing commands.

Barrel — representative authorized Minecraft assetBarrel
Image source: Minecraft Wiki
Namespaced ID
minecraft:barrel
Numeric ID
1043
Stack size
64

Version-specific item details

In Java Edition 1.18.2, this item uses the internal name minecraft:barrel and numeric protocol ID 1043. It stacks to 64.

Command reference

/give @p minecraft:barrel 64
/give
Gives an item to the selected target.
@p
The nearest player to where the command runs.
minecraft:barrel
The version-pinned textual identifier for Barrel.
64
The number of items to give.

Modern namespaced commands normally use the textual identifier. Numeric IDs are shown for data comparison and protocol work, not as a recommendation for modern command syntax.

Compare supported versions

Versions where this identifier does not exist return a real 404. Numeric IDs are protocol data and can change between releases.

Related content