More Chest Block API
This commit is contained in:
@@ -27,4 +27,14 @@ public interface Chest extends Container, LootableBlockInventory, Lidded { // Pa
|
||||
*/
|
||||
@NotNull
|
||||
Inventory getBlockInventory();
|
||||
|
||||
// Paper start - More Chest Block API
|
||||
/**
|
||||
* Checks whether this chest is blocked
|
||||
* by either a block above or a sitting cat
|
||||
*
|
||||
* @return whether this chest is blocked
|
||||
*/
|
||||
boolean isBlocked();
|
||||
// Paper end - More Chest Block API
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user