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

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

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

  返回ShapelessRecipe的org.bukkit.inventory中的方法
  修饰符和类型
  方法
  说明
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`addIngredient(int count, @NotNull Material ingredient)`
  Adds multiples of the specified ingredient.
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`addIngredient(int count, @NotNull MaterialData ingredient)`
  Adds multiples of the specified ingredient.
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`addIngredient(int count, @NotNull Material ingredient, int rawdata)`
  已过时。
  Magic value
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`addIngredient(@NotNull RecipeChoice ingredient)`
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`addIngredient(@NotNull Material ingredient)`
  Adds the specified ingredient.
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`addIngredient(@NotNull MaterialData ingredient)`
  Adds the specified ingredient.
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`addIngredient(@NotNull Material ingredient, int rawdata)`
  已过时。
  Magic value
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`removeIngredient(int count, @NotNull Material ingredient)`
  Removes multiple instances of an ingredient from the list.
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`removeIngredient(int count, @NotNull MaterialData ingredient)`
  Removes multiple instances of an ingredient from the list.
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`removeIngredient(int count, @NotNull Material ingredient, int rawdata)`
  已过时。
  Magic value
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`removeIngredient(@NotNull RecipeChoice ingredient)`
  Removes an ingredient from the list.
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`removeIngredient(@NotNull Material ingredient)`
  Removes an ingredient from the list.
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`removeIngredient(@NotNull MaterialData ingredient)`
  Removes an ingredient from the list.
  `@NotNull ShapelessRecipe`
  ShapelessRecipe.`removeIngredient(@NotNull Material ingredient, int rawdata)`
  已过时。
  Magic value