A Barrel serves as an alternative to chests, providing storage for up to 27 stacks of items or blocks. Unlike chests, it has the advantage of being accessible from all sides, and it can be opened even if there is a block directly above it. Crafted using wooden slabs and sticks, it also functions as a job site block for the fisherman profession in villages, allowing villagers to restock their trades when they work at it.
This item has no numerical item ID, therefore you must use the item ID to spawn the item. Numerical item IDs were removed in Minecraft version 1.13.
The item id for Barrel is minecraft:barrel
The item ID for Barrel is minecraft:barrel
This is the spawn command to give yourself Barrel in Minecraft which includes the Minecraft /give command. If you are using the Essentials plugin you will need to use /minecraft:give instead of /give