Shapeless Group Recipe
Implementation of CRecipe.
This recipe only provides CRecipe.Type.SHAPELESS.
This is the SHAPELESS counterpart of GroupRecipe: groups states, for each set of recipe slots, how many of them must actually be matched to an input item (MatchGroup.min to MatchGroup.max). Unlike GroupRecipe, no Material.AIR placeholder candidate is needed to express "this slot may stay unmatched" — SHAPELESS matching has no concept of position, so an unmatched slot is simply absent from the resulting relation. The min/max bounds are enforced structurally by the matching itself (see io.github.sakaki_aruka.customcrafter.search.Search), so — again unlike GroupRecipe — no extra CRecipePredicate safety net is auto-appended here.
Since
5.3.0
Parameters
Name of this recipe
Item mapping. Coordinates are only used as unique slot identifiers; position is irrelevant.
Groups covering every coordinate in items. Every coordinate must belong to exactly one group.
Additional predicates. Defaults to none.
ResultSupplier list
See also
Constructors
Properties
Type of this recipe. See CRecipe.Type.
Functions
Returns CRecipePredicate inspection result on async.
Returns results of suppliers made asynchronously.
Returns the first CRecipePredicate that rejects context, or null when all of them pass.
Returns CRecipePredicate inspection result
Returns results of suppliers made
Returns the minimum craft count calculated from input item amounts and recipe requirements.
Validates this CRecipe.
Groups of recipe slots used by CRecipe.Type.SHAPELESS matching.
Maximum requires input items amount. Inclusive
Minimal requires input items amount