Adjacent Recipe
constructor(name: String, matters: List<CMatter>, relationType: AdjacentRecipe.RelationType = RelationType.BOTH, customPredicates: List<CRecipePredicate>? = null, results: List<ResultSupplier>? = null)
Parameters
name
Unique identifier for this recipe.
matters
List of CMatter entries that make up the ingredients. Placement order within the grid is unconstrained (shapeless matching).
relation Type
Adjacency rule applied to every placed item. Defaults to RelationType.BOTH.
custom Predicates
Additional CRecipePredicate conditions evaluated before the adjacency check. Pass null or omit to apply no extra conditions.
results
ResultSupplier list that produces the craft output. null yields no result.