shapeless

fun shapeless(name: String, items: List<CMatter>, predicates: List<CRecipePredicate>? = null, results: List<ResultSupplier>? = null): CRecipeImpl

Shapeless recipe build wrapper.

This calls the constructor with arguments and CRecipe.Type.SHAPELESS.

Return

CRecipeImpl A shapeless recipe

Since

5.0.14

Parameters

name

A name of this recipe.

items

Matter list. Order is not significant (shapeless).

predicates

Additional conditions evaluated during recipe matching. (default = null)

results

A ResultSupplier list. (default = null)

Throws

Throws if items size is out of the range (1 ~ 36).

Throws if built recipe is invalid.