Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
17
paper-api/src/main/java/org/bukkit/block/ContainerBlock.java
Normal file
17
paper-api/src/main/java/org/bukkit/block/ContainerBlock.java
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user