<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="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></span></div>
<divclass="block">Represents a captured state of a dropper.</div>
<divclass="block">Tries to drop a randomly selected item from the dropper's inventory,
following the normal behavior of a dropper.</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.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="block">Tries to drop a randomly selected item from the dropper's inventory,
following the normal behavior of a dropper.
<p>
Normal behavior of a dropper is as follows:
<p>
If the block that the dropper is facing is an InventoryHolder,
the randomly selected ItemStack is placed within that
Inventory in the first slot that's available, starting with 0 and
counting up. If the inventory is full, nothing happens.
<p>
If the block that the dropper is facing is not an InventoryHolder,
the randomly selected ItemStack is dropped on
the ground in the form of an <ahref="../entity/Item.html"title="interface in org.bukkit.entity"><code>Item</code></a>.
<p>
If the block represented by this state is no longer a dropper, this will
do nothing.</div>
<dlclass="notes">
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - if this block state is not placed</dd>