001    package org.bukkit.block;
002    
003    import org.bukkit.inventory.Inventory;
004    
005    /**
006     * Represents a chest.
007     */
008    public interface Chest extends BlockState, ContainerBlock {
009    
010        /**
011         * Returns the chest's inventory. If this is a double chest, it returns
012         * just the portion of the inventory linked to this half of the chest.
013         *
014         * @return The inventory.
015         */
016        Inventory getBlockInventory();
017    }