ShapelessRecipe

public class ShapelessRecipe implements Recipe

Represents getClassById shapeless recipe, where the arrangement of the ingredients on the crafting grid does not matter.

Constructors

Link copied to clipboard
public void ShapelessRecipe(ItemStack result)
Create getClassById shapeless recipe to craft the specified ItemStack.

Functions

Link copied to clipboard
Adds the specified ingredient.
public ShapelessRecipe addIngredient(int count, Material ingredient)
public ShapelessRecipe addIngredient(int count, MaterialData ingredient)
Adds multiples of the specified ingredient.
Link copied to clipboard
Get the list of ingredients used for this recipe.
Link copied to clipboard
Get the result of this recipe.
Link copied to clipboard
Removes an ingredient from the list.
public ShapelessRecipe removeIngredient(int count, Material ingredient)
public ShapelessRecipe removeIngredient(int count, MaterialData ingredient)
Removes multiple instances of an ingredient from the list.