<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="../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>
</dl>
<dlclass="notes">
<dt>All Known Subinterfaces:</dt>
<dd><code><ahref="BlastFurnace.html"title="interface in org.bukkit.block">BlastFurnace</a></code>, <code><ahref="Smoker.html"title="interface in org.bukkit.block">Smoker</a></code></dd>
<divclass="block">Gets the cook speed multiplier that this <ahref="Furnace.html"title="interface in org.bukkit.block"><code>Furnace</code></a> will cook
<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/FurnaceInventory.html"title="interface in org.bukkit.inventory">FurnaceInventory</a></code></div>
<divclass="block">Gets the inventory of the block represented by this block state.</div>
</div>
<divclass="col-first odd-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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html"title="class or interface in java.util"class="external-link">Map</a><<ahref="../inventory/CookingRecipe.html"title="class in org.bukkit.inventory">CookingRecipe</a><?>,<wbr><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html"title="class or interface in java.lang"class="external-link">Integer</a>></code></div>
<divclass="block">Gets the number of times a recipe has been used since the
last player removed items from the result slot.</div>
</div>
<divclass="col-first odd-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/FurnaceInventory.html"title="interface in org.bukkit.inventory">FurnaceInventory</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setRecipesUsed(java.util.Map)"class="member-name-link">setRecipesUsed</a><wbr>(<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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html"title="class or interface in java.util"class="external-link">Map</a><<ahref="../inventory/CookingRecipe.html"title="class in org.bukkit.inventory">CookingRecipe</a><?>,<wbr><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html"title="class or interface in java.lang"class="external-link">Integer</a>> recipesUsed)</code></div>
<divclass="block">Sets the number of times a recipe has been used.</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.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.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>
This is the amount of time the item is required to cook for.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>cookTimeTotal</code> - Cook time total</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getRecipesUsed()">
<h3>getRecipesUsed</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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html"title="class or interface in java.util"class="external-link">Map</a><<ahref="../inventory/CookingRecipe.html"title="class in org.bukkit.inventory">CookingRecipe</a><?>,<wbr><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html"title="class or interface in java.lang"class="external-link">Integer</a>></span> <spanclass="element-name">getRecipesUsed</span>()</div>
<divclass="block">Get the recipes used in this furnace.
<b>Note:</b> These recipes used are reset when the result item is
manually taken from the furnace.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>An immutable map with the recipes used and the times used</dd>
<divclass="block">Gets the cook speed multiplier that this <ahref="Furnace.html"title="interface in org.bukkit.block"><code>Furnace</code></a> will cook
compared to vanilla.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the multiplier, a value between 0 and 200</dd>
<divclass="block">Sets the speed multiplier that this <ahref="Furnace.html"title="interface in org.bukkit.block"><code>Furnace</code></a> will cook
compared to vanilla.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>multiplier</code> - the multiplier to set, a value between 0 and 200</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html"title="class or interface in java.lang"class="external-link">IllegalArgumentException</a></code> - if value is less than 0</dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html"title="class or interface in java.lang"class="external-link">IllegalArgumentException</a></code> - if value is more than 200</dd>
<divclass="member-signature"><spanclass="return-type">int</span> <spanclass="element-name">getRecipeUsedCount</span><wbr><spanclass="parameters">(<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="../NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> furnaceRecipe)</span></div>
<divclass="block">Gets the number of times a recipe has been used since the
last player removed items from the result slot. This is used
to calculate experience rewards when withdrawing items from furnaces.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>furnaceRecipe</code> - the recipe to query the count for</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">hasRecipeUsedCount</span><wbr><spanclass="parameters">(<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="../NamespacedKey.html"title="class in org.bukkit">NamespacedKey</a> furnaceRecipe)</span></div>
<divclass="block">Checks if the recipe has a used count present on this furnace.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>furnaceRecipe</code> - the recipe to check if a count exists for</dd>
<dt>Returns:</dt>
<dd>true if there is a positive count, else false</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setRecipeUsedCount</span><wbr><spanclass="parameters">(<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/CookingRecipe.html"title="class in org.bukkit.inventory">CookingRecipe</a><?> furnaceRecipe,
int count)</span></div>
<divclass="block">Sets the number of times a recipe has been used. This is used
to calculate experience rewards when withdrawing items from furnaces.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>furnaceRecipe</code> - the recipe to set the count for</dd>
<dd><code>count</code> - the count, a non-positive number will remove the recipe</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setRecipesUsed</span><wbr><spanclass="parameters">(<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="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="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html"title="class or interface in java.util"class="external-link">Map</a><<ahref="../inventory/CookingRecipe.html"title="class in org.bukkit.inventory">CookingRecipe</a><?>,<wbr><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html"title="class or interface in java.lang"class="external-link">Integer</a>> recipesUsed)</span></div>
<divclass="block">Sets all recipes used by this furnace.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>recipesUsed</code> - the recipes used</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getInventory()">
<h3>getInventory</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/FurnaceInventory.html"title="interface in org.bukkit.inventory">FurnaceInventory</a></span> <spanclass="element-name">getInventory</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="Container.html#getInventory()">Container</a></code></span></div>
<divclass="block">Gets the inventory of the block represented by 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 inventory
snapshot instead.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Container.html#getInventory()">getInventory</a></code> in interface <code><ahref="Container.html"title="interface in org.bukkit.block">Container</a></code></dd>
<dt>Specified by:</dt>
<dd><code><ahref="../inventory/InventoryHolder.html#getInventory()">getInventory</a></code> in interface <code><ahref="../inventory/InventoryHolder.html"title="interface in org.bukkit.inventory">InventoryHolder</a></code></dd>
<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/FurnaceInventory.html"title="interface in org.bukkit.inventory">FurnaceInventory</a></span> <spanclass="element-name">getSnapshotInventory</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="Container.html#getSnapshotInventory()">Container</a></code></span></div>
<divclass="block">Gets the captured inventory snapshot of this container.
<p>
The returned inventory is not linked to any block. Any modifications to
the returned inventory will not be applied to the block represented by
this block state up until <ahref="BlockState.html#update(boolean,boolean)"><code>BlockState.update(boolean, boolean)</code></a> has been
called.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="Container.html#getSnapshotInventory()">getSnapshotInventory</a></code> in interface <code><ahref="Container.html"title="interface in org.bukkit.block">Container</a></code></dd>