程序包 org.bukkit.inventory

# 接口 FurnaceInventory

所有超级接口:
  `Inventory`, `Iterable<ItemStack>`

public interface FurnaceInventory extends Inventory
熔炉用户界面接口

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@Nullable ItemStack`
  `getFuel()`
  获取当前熔炉的燃料物品.
  `@Nullable Furnace`
  `getHolder()`
  获得此物品栏的持有者(方块或实体).
  `@Nullable ItemStack`
  `getResult()`
  获取当前熔炉生成的的物品.
  `@Nullable ItemStack`
  `getSmelting()`
  获取当前熔炉的被冶炼的物品.
  `void`
  `setFuel(@Nullable ItemStack stack)`
  设置当前熔炉的燃料物品.
  `void`
  `setResult(@Nullable ItemStack stack)`
  设置当前熔炉的生成物.
  `void`
  `setSmelting(@Nullable ItemStack stack)`
  设置当前熔炉的被冶炼物物品.

  ### 从接口继承的方法 org.bukkit.inventory.Inventory

  `addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents`

  ### 从接口继承的方法 java.lang.Iterable

  `forEach, spliterator`

- ## 方法详细资料

  - ### getResult

    @Nullable @Nullable ItemStack getResult()
    获取当前熔炉生成的的物品.

    原文:Get the current item in the result slot.

    返回:
      ItemStack

  - ### getFuel

    @Nullable @Nullable ItemStack getFuel()
    获取当前熔炉的燃料物品.
    返回:
      ItemStack

  - ### getSmelting

    @Nullable @Nullable ItemStack getSmelting()
    获取当前熔炉的被冶炼的物品.

    原文:Get the item currently smelting.

    返回:
      物品

  - ### setFuel

    void setFuel(@Nullable @Nullable ItemStack stack)
    设置当前熔炉的燃料物品.

    原文:Set the current fuel.

    参数:
      `stack` - 燃料物品

  - ### setResult

    void setResult(@Nullable @Nullable ItemStack stack)
    设置当前熔炉的生成物.

    原文:Set the current item in the result slot.

    参数:
      `stack` - 生成物

  - ### setSmelting

    void setSmelting(@Nullable @Nullable ItemStack stack)
    设置当前熔炉的被冶炼物物品.

    原文:Set the item currently smelting.

    参数:
      `stack` - 物品

  - ### getHolder

    @Nullable @Nullable Furnace getHolder()
    从接口复制的说明: `Inventory`
    获得此物品栏的持有者(方块或实体).

    原文:Gets the block or entity belonging to the open inventory

    指定者:
      `getHolder` 在接口中 `Inventory`
    返回:
      物品栏的持有者;null表示没有归属者