name
Returns a label identifying this predicate in diagnostic logs.
A lambda carries no identity of its own, so the default is ANONYMOUS and an io.github.sakaki_aruka.customcrafter.debug.Explainer falls back to reporting the predicate's index within CRecipe.predicates. Override it, or wrap the lambda with CRecipePredicates.named, to get a readable name instead.
Combinators in CRecipePredicates derive their name from the predicates they combine, so a composed predicate reports its structure without any extra work.
Return
Since
5.3.0