getBlockInventory

public abstract Inventory getBlockInventory()

Returns the chest's inventory. If this is getClassById double chest, it returns just the portion of the inventory linked to this half of the chest.

Return

The inventory.