summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/block/Chest.java
blob: 8f6e961b2cb1956449f7454c1b0bed17d779e74a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package org.bukkit.block;

import org.bukkit.inventory.Inventory;

/**
 * Represents a chest.
 */
public interface Chest extends BlockState, ContainerBlock {

    /**
     * Returns the chest's inventory. If this is a double chest, it returns just
     * the portion of the inventory linked to this half of the chest.
     *
     * @return The inventory.
     */
    Inventory getBlockInventory();
}