程序包 org.bukkit.inventory

# 类 FurnaceRecipe

java.lang.Object
org.bukkit.inventory.CookingRecipe<FurnaceRecipe>
org.bukkit.inventory.FurnaceRecipe

所有已实现的接口:
  `Recipe`, `Keyed`

public class FurnaceRecipe extends CookingRecipe<FurnaceRecipe>
熔炉冶炼配方.

- ## 构造器概要

  构造器
  构造器
  说明
  `FurnaceRecipe(@NotNull ItemStack result, @NotNull Material source)`
  已过时。
  `FurnaceRecipe(@NotNull ItemStack result, @NotNull MaterialData source)`
  已过时。
  `FurnaceRecipe(@NotNull ItemStack result, @NotNull MaterialData source, float experience)`
  已过时。
  `FurnaceRecipe(@NotNull ItemStack result, @NotNull Material source, int data)`
  已过时。
  `FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime)`
  Create a furnace recipe to craft the specified ItemStack.
  `FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime)`
  Create a furnace recipe to craft the specified ItemStack.
  `FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, int data, float experience, int cookingTime)`
  已过时。

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull FurnaceRecipe`
  `setInput(@NotNull Material input)`
  Sets the input of this cooking recipe.
  `@NotNull FurnaceRecipe`
  `setInput(@NotNull MaterialData input)`
  设置此冶炼配方的原料.
  `FurnaceRecipe`
  `setInput(@NotNull Material input, int data)`
  已过时。
  Magic value
  `@NotNull FurnaceRecipe`
  `setInputChoice(@NotNull RecipeChoice input)`
  Sets the input of this cooking recipe.

  ### 从类继承的方法 org.bukkit.inventory.CookingRecipe

  `getCategory, getCookingTime, getExperience, getGroup, getInput, getInputChoice, getKey, getResult, setCategory, setCookingTime, setExperience, setGroup`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### FurnaceRecipe

    @Deprecated public FurnaceRecipe(@NotNull @NotNull ItemStack result, @NotNull @NotNull Material source)
    已过时。

  - ### FurnaceRecipe

    @Deprecated public FurnaceRecipe(@NotNull @NotNull ItemStack result, @NotNull @NotNull MaterialData source)
    已过时。

  - ### FurnaceRecipe

    @Deprecated public FurnaceRecipe(@NotNull @NotNull ItemStack result, @NotNull @NotNull MaterialData source, float experience)
    已过时。

  - ### FurnaceRecipe

    @Deprecated public FurnaceRecipe(@NotNull @NotNull ItemStack result, @NotNull @NotNull Material source, int data)
    已过时。

  - ### FurnaceRecipe

    public FurnaceRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @NotNull @NotNull Material source, float experience, int cookingTime)
    Create a furnace recipe to craft the specified ItemStack.
    参数:
      `key` - The unique recipe key
      `result` - The item you want the recipe to create.
      `source` - The input material.
      `experience` - The experience given by this recipe
      `cookingTime` - The cooking time (in ticks)

  - ### FurnaceRecipe

    @Deprecated public FurnaceRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @NotNull @NotNull Material source, int data, float experience, int cookingTime)
    已过时。

  - ### FurnaceRecipe

    public FurnaceRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @NotNull @NotNull RecipeChoice input, float experience, int cookingTime)
    Create a furnace recipe to craft the specified ItemStack.
    参数:
      `key` - The unique recipe key
      `result` - The item you want the recipe to create.
      `input` - The input choices.
      `experience` - The experience given by this recipe
      `cookingTime` - The cooking time (in ticks)

- ## 方法详细资料

  - ### setInput

    @NotNull public @NotNull FurnaceRecipe setInput(@NotNull @NotNull MaterialData input)
    设置此冶炼配方的原料.

    原文:Sets the input of this furnace recipe.

    参数:
      `input` - 冶炼原料.
    返回:
      返回新的冶炼配方.

  - ### setInput

    @NotNull public @NotNull FurnaceRecipe setInput(@NotNull @NotNull Material input)
    从类复制的说明: `CookingRecipe`
    Sets the input of this cooking recipe.
    覆盖:
      `setInput` 在类中 `CookingRecipe<FurnaceRecipe>`
    参数:
      `input` - The input material.
    返回:
      The changed recipe, so you can chain calls.

  - ### setInput

    @Deprecated public FurnaceRecipe setInput(@NotNull @NotNull Material input, int data)
    已过时。
    Magic value
    设置此冶炼配方的原料.

    原文:Sets the input of this furnace recipe.

    参数:
      `input` - 冶炼原料.
      `data` - 数据值. (注意: 该值目前被CraftBukkit服务器忽略，也就是说没有作用)
    返回:
      返回新的冶炼配方.

  - ### setInputChoice

    @NotNull public @NotNull FurnaceRecipe setInputChoice(@NotNull @NotNull RecipeChoice input)
    从类复制的说明: `CookingRecipe`
    Sets the input of this cooking recipe.
    覆盖:
      `setInputChoice` 在类中 `CookingRecipe<FurnaceRecipe>`
    参数:
      `input` - The input choice.
    返回:
      The changed recipe, so you can chain calls.