diff --git a/paper-api/src/main/java/org/bukkit/block/Chest.java b/paper-api/src/main/java/org/bukkit/block/Chest.java index f33cce6f89..2d940e56e2 100644 --- a/paper-api/src/main/java/org/bukkit/block/Chest.java +++ b/paper-api/src/main/java/org/bukkit/block/Chest.java @@ -1,6 +1,16 @@ package org.bukkit.block; +import org.bukkit.inventory.Inventory; + /** * Represents a chest. */ -public interface Chest extends BlockState, ContainerBlock {} +public interface Chest extends BlockState, ContainerBlock { + /** + * Returns the chest's inventory. If this is a double chest, it returns just + * the portion of the inventory linked to this half of the chest. + * + * @return The inventory. + */ + Inventory getBlockInventory(); +}