addIngredient

Adds the specified ingredient.

Return

The changed recipe, so you can chain calls.

Parameters

ingredient

The ingredient to add.


public ShapelessRecipe addIngredient(int count, MaterialData ingredient)
public ShapelessRecipe addIngredient(int count, Material ingredient)

Adds multiples of the specified ingredient.

Return

The changed recipe, so you can chain calls.

Parameters

count

How many to add (can't be more than 9!)

ingredient

The ingredient to add.