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