| Constructor | Description | 
|---|---|
| ShapelessRecipe(@NotNull ItemStack result) | Deprecated.  | 
| ShapelessRecipe(@NotNull NamespacedKey key,
               @NotNull ItemStack result) | Create a shapeless recipe to craft the specified ItemStack. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull ShapelessRecipe | addIngredient(int count,
             @NotNull Material ingredient) | Adds multiples of the specified ingredient. | 
| @NotNull ShapelessRecipe | addIngredient(int count,
             @NotNull MaterialData ingredient) | Adds multiples of the specified ingredient. | 
| @NotNull ShapelessRecipe | addIngredient(int count,
             @NotNull Material ingredient,
             int rawdata) | Deprecated. 
 Magic value | 
| @NotNull ShapelessRecipe | addIngredient(@NotNull RecipeChoice ingredient) | |
| @NotNull ShapelessRecipe | addIngredient(@NotNull Material ingredient) | Adds the specified ingredient. | 
| @NotNull ShapelessRecipe | addIngredient(@NotNull MaterialData ingredient) | Adds the specified ingredient. | 
| @NotNull ShapelessRecipe | addIngredient(@NotNull Material ingredient,
             int rawdata) | Deprecated. 
 Magic value | 
| @NotNull List<RecipeChoice> | getChoiceList() | |
| @NotNull String | getGroup() | Get the group of this recipe. | 
| @NotNull List<ItemStack> | getIngredientList() | Get the list of ingredients used for this recipe. | 
| @NotNull NamespacedKey | getKey() | Return the namespaced identifier for this object. | 
| @NotNull ItemStack | getResult() | Get the result of this recipe. | 
| @NotNull ShapelessRecipe | removeIngredient(int count,
                @NotNull Material ingredient) | Removes multiple instances of an ingredient from the list. | 
| @NotNull ShapelessRecipe | removeIngredient(int count,
                @NotNull MaterialData ingredient) | Removes multiple instances of an ingredient from the list. | 
| @NotNull ShapelessRecipe | removeIngredient(int count,
                @NotNull Material ingredient,
                int rawdata) | Deprecated. 
 Magic value | 
| @NotNull ShapelessRecipe | removeIngredient(@NotNull RecipeChoice ingredient) | Removes an ingredient from the list. | 
| @NotNull ShapelessRecipe | removeIngredient(@NotNull Material ingredient) | Removes an ingredient from the list. | 
| @NotNull ShapelessRecipe | removeIngredient(@NotNull MaterialData ingredient) | Removes an ingredient from the list. | 
| @NotNull ShapelessRecipe | removeIngredient(@NotNull Material ingredient,
                int rawdata) | Deprecated. 
 Magic value | 
| void | setGroup(@NotNull String group) | Set the group of this recipe. | 
@Deprecated public ShapelessRecipe(@NotNull @NotNull ItemStack result)
public ShapelessRecipe(@NotNull
                       @NotNull NamespacedKey key,
                       @NotNull
                       @NotNull ItemStack result)
key - the unique recipe keyresult - The item you want the recipe to create.addIngredient(Material), 
addIngredient(MaterialData), 
addIngredient(Material,int), 
addIngredient(int,Material), 
addIngredient(int,MaterialData), 
addIngredient(int,Material,int)@NotNull public @NotNull ShapelessRecipe addIngredient(@NotNull @NotNull MaterialData ingredient)
ingredient - The ingredient to add.@NotNull public @NotNull ShapelessRecipe addIngredient(@NotNull @NotNull Material ingredient)
ingredient - The ingredient to add.@Deprecated @NotNull public @NotNull ShapelessRecipe addIngredient(@NotNull @NotNull Material ingredient, int rawdata)
ingredient - The ingredient to add.rawdata - The data value, or -1 to allow any data value.@NotNull public @NotNull ShapelessRecipe addIngredient(int count, @NotNull @NotNull MaterialData ingredient)
count - How many to add (can't be more than 9!)ingredient - The ingredient to add.@NotNull public @NotNull ShapelessRecipe addIngredient(int count, @NotNull @NotNull Material ingredient)
count - How many to add (can't be more than 9!)ingredient - The ingredient to add.@Deprecated @NotNull public @NotNull ShapelessRecipe addIngredient(int count, @NotNull @NotNull Material ingredient, int rawdata)
count - How many to add (can't be more than 9!)ingredient - The ingredient to add.rawdata - The data value, or -1 to allow any data value.@NotNull public @NotNull ShapelessRecipe addIngredient(@NotNull @NotNull RecipeChoice ingredient)
@NotNull public @NotNull ShapelessRecipe removeIngredient(@NotNull @NotNull RecipeChoice ingredient)
ingredient - The ingredient to remove@NotNull public @NotNull ShapelessRecipe removeIngredient(@NotNull @NotNull Material ingredient)
ingredient - The ingredient to remove@NotNull public @NotNull ShapelessRecipe removeIngredient(@NotNull @NotNull MaterialData ingredient)
ingredient - The ingredient to remove@NotNull public @NotNull ShapelessRecipe removeIngredient(int count, @NotNull @NotNull Material ingredient)
count - The number of copies to remove.ingredient - The ingredient to remove@NotNull public @NotNull ShapelessRecipe removeIngredient(int count, @NotNull @NotNull MaterialData ingredient)
count - The number of copies to remove.ingredient - The ingredient to remove.@Deprecated @NotNull public @NotNull ShapelessRecipe removeIngredient(@NotNull @NotNull Material ingredient, int rawdata)
ingredient - The ingredient to removerawdata - The data value;@Deprecated @NotNull public @NotNull ShapelessRecipe removeIngredient(int count, @NotNull @NotNull Material ingredient, int rawdata)
count - The number of copies to remove.ingredient - The ingredient to remove.rawdata - The data value.@NotNull public @NotNull ItemStack getResult()
@NotNull public @NotNull List<ItemStack> getIngredientList()
@NotNull public @NotNull List<RecipeChoice> getChoiceList()
@NotNull public @NotNull NamespacedKey getKey()
Keyed@NotNull public @NotNull String getGroup()
public void setGroup(@NotNull
                     @NotNull String group)
group - recipe group. An empty string denotes no group. May not be
 null.Copyright © 2020. All rights reserved.