17 lines
282 B
Java
17 lines
282 B
Java
package org.bukkit.block;
|
|
|
|
import org.bukkit.inventory.Inventory;
|
|
|
|
/**
|
|
* Indicates a block type that has inventory.
|
|
*/
|
|
public interface ContainerBlock {
|
|
|
|
/**
|
|
* Get the block's inventory.
|
|
*
|
|
* @return The inventory.
|
|
*/
|
|
public Inventory getInventory();
|
|
}
|