Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.

This commit is contained in:
sk89q
2011-01-23 00:37:36 -08:00
parent 4165f58d82
commit 7488cd29fa
7 changed files with 162 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
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();
}