# 类的使用
org.bukkit.inventory.ShapedRecipe

使用ShapedRecipe的程序包
程序包
说明
org.bukkit.inventory
参与操作玩家物品栏和物品交互的类.

- ## org.bukkit.inventory中ShapedRecipe的使用

  返回ShapedRecipe的org.bukkit.inventory中的方法
  修饰符和类型
  方法
  说明
  `@NotNull ShapedRecipe`
  ShapedRecipe.`setIngredient(char key, @NotNull RecipeChoice ingredient)`
  Sets the `RecipeChoice` that a character in the recipe shape refers to.
  `@NotNull ShapedRecipe`
  ShapedRecipe.`setIngredient(char key, @NotNull Material ingredient)`
  Sets the material that a character in the recipe shape refers to.
  `@NotNull ShapedRecipe`
  ShapedRecipe.`setIngredient(char key, @NotNull MaterialData ingredient)`
  Sets the material that a character in the recipe shape refers to.
  `@NotNull ShapedRecipe`
  ShapedRecipe.`setIngredient(char key, @NotNull Material ingredient, int raw)`
  已过时。
  Magic value
  `@NotNull ShapedRecipe`
  ShapedRecipe.`shape(@NotNull String... shape)`
  Set the shape of this recipe to the specified rows.