Files
Paper/paper-api/src/main/java/org/bukkit/block/Chest.java
Bukkit/Spigot f442df089f Remove deprecated ContainerBlock
Replaced by InventoryHolder since March 2012.

By: Matt <mattbdev@outlook.com>
2016-03-01 08:30:02 +11:00

19 lines
446 B
Java

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