<dd><code><ahref="../inventory/BlockInventoryHolder.html"title="interface in org.bukkit.inventory">BlockInventoryHolder</a></code>, <code><ahref="BlockState.html"title="interface in org.bukkit.block">BlockState</a></code>, <code><ahref="Container.html"title="interface in org.bukkit.block">Container</a></code>, <code><ahref="../inventory/InventoryHolder.html"title="interface in org.bukkit.inventory">InventoryHolder</a></code>, <code><ahref="Lidded.html"title="interface in org.bukkit.block">Lidded</a></code>, <code><ahref="Lockable.html"title="interface in org.bukkit.block">Lockable</a></code>, <code><ahref="../loot/Lootable.html"title="interface in org.bukkit.loot">Lootable</a></code>, <code><ahref="../../../com/destroystokyo/paper/loottable/LootableBlockInventory.html"title="interface in com.destroystokyo.paper.loottable">LootableBlockInventory</a></code>, <code><ahref="../../../com/destroystokyo/paper/loottable/LootableInventory.html"title="interface in com.destroystokyo.paper.loottable">LootableInventory</a></code>, <code><ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></code>, <code><ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></code>, <code><ahref="TileState.html"title="interface in org.bukkit.block">TileState</a></code></dd>
extends <ahref="Container.html"title="interface in org.bukkit.block">Container</a>, <ahref="../../../com/destroystokyo/paper/loottable/LootableBlockInventory.html"title="interface in com.destroystokyo.paper.loottable">LootableBlockInventory</a>, <ahref="Lidded.html"title="interface in org.bukkit.block">Lidded</a></span></div>
<divclass="block">Represents a captured state of a chest.</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../inventory/Inventory.html"title="interface in org.bukkit.inventory">Inventory</a></code></div>
<divclass="block">Gets the inventory of the chest block represented by this block state.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.inventory.BlockInventoryHolder">Methods inherited from interface org.bukkit.inventory.<ahref="../inventory/BlockInventoryHolder.html"title="interface in org.bukkit.inventory">BlockInventoryHolder</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.block.BlockState">Methods inherited from interface org.bukkit.block.<ahref="BlockState.html"title="interface in org.bukkit.block">BlockState</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.block.Container">Methods inherited from interface org.bukkit.block.<ahref="Container.html"title="interface in org.bukkit.block">Container</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.block.Lidded">Methods inherited from interface org.bukkit.block.<ahref="Lidded.html"title="interface in org.bukkit.block">Lidded</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.block.Lockable">Methods inherited from interface org.bukkit.block.<ahref="Lockable.html"title="interface in org.bukkit.block">Lockable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.loot.Lootable">Methods inherited from interface org.bukkit.loot.<ahref="../loot/Lootable.html"title="interface in org.bukkit.loot">Lootable</a></h3>
<h3id="methods-inherited-from-class-com.destroystokyo.paper.loottable.LootableBlockInventory">Methods inherited from interface com.destroystokyo.paper.loottable.<ahref="../../../com/destroystokyo/paper/loottable/LootableBlockInventory.html"title="interface in com.destroystokyo.paper.loottable">LootableBlockInventory</a></h3>
<h3id="methods-inherited-from-class-com.destroystokyo.paper.loottable.LootableInventory">Methods inherited from interface com.destroystokyo.paper.loottable.<ahref="../../../com/destroystokyo/paper/loottable/LootableInventory.html"title="interface in com.destroystokyo.paper.loottable">LootableInventory</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.metadata.Metadatable">Methods inherited from interface org.bukkit.metadata.<ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.Nameable">Methods inherited from interface org.bukkit.<ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.block.TileState">Methods inherited from interface org.bukkit.block.<ahref="TileState.html"title="interface in org.bukkit.block">TileState</a></h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../inventory/Inventory.html"title="interface in org.bukkit.inventory">Inventory</a></span> <spanclass="element-name">getBlockInventory</span>()</div>
<divclass="block">Gets the inventory of the chest block represented by this block state.
<p>
If the chest is a double chest, it returns just the portion of the
inventory linked to the half of the chest corresponding to this block state.
<p>
If the block was changed to a different type in the meantime, the
returned inventory might no longer be valid.
<p>
If this block state is not placed this will return the captured