mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
parent
2ee538ec02
commit
91ffd11c33
1 changed files with 13 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
package org.bukkit.block;
|
||||
|
||||
import java.util.Map;
|
||||
import org.bukkit.inventory.CookingRecipe;
|
||||
import org.bukkit.inventory.FurnaceInventory;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
|
@ -61,6 +63,17 @@ public interface Furnace extends Container {
|
|||
*/
|
||||
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
|
||||
@Override
|
||||
public FurnaceInventory getInventory();
|
||||
|
|
Loading…
Reference in a new issue