Files
Paper/paper-api/src/main/java/org/bukkit/block/Chest.java
2016-11-18 11:24:16 +11:00

20 lines
494 B
Java

package org.bukkit.block;
import org.bukkit.Nameable;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.InventoryHolder;
/**
* Represents a chest.
*/
public interface Chest extends BlockState, InventoryHolder, Lockable, Nameable {
/**
* 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();
}