mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 09:02:09 -07:00
@@ -1,5 +1,7 @@
|
|||||||
package org.bukkit.block;
|
package org.bukkit.block;
|
||||||
|
|
||||||
|
import java.util.Map;
|
||||||
|
import org.bukkit.inventory.CookingRecipe;
|
||||||
import org.bukkit.inventory.FurnaceInventory;
|
import org.bukkit.inventory.FurnaceInventory;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
@@ -61,6 +63,17 @@ public interface Furnace extends Container {
|
|||||||
*/
|
*/
|
||||||
public void setCookTimeTotal(int cookTimeTotal);
|
public void setCookTimeTotal(int cookTimeTotal);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
* @return An immutable map with the recipes used and the times used
|
||||||
|
*/
|
||||||
|
@NotNull
|
||||||
|
public Map<CookingRecipe<?>, Integer> getRecipesUsed();
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public FurnaceInventory getInventory();
|
public FurnaceInventory getInventory();
|
||||||
|
Reference in New Issue
Block a user