Context
constructor(recipe: CRecipe, relation: MappedRelation, mapped: Map<CoordinateComponent, ItemStack>, shiftClicked: Boolean, calledTimes: Int, crafterId: UUID, callMode: ResultSupplier.Context.CallMode, asyncContext: AsyncContext? = null)
Parameters
recipe
A CRecipe instance what contains this
crafter Id
Crafter UUID
relation
Coordinate mapping between a CRecipe and an input Inventory
mapped
Coordinates and input items mapping
shift Clicked
Shift-clicked or not
called Times
Calculated minimum amount with CMatter.amount
call Mode
Indicates whether this invocation is a real craft or an icon generation for display (since 5.0.21)
async Context
Async context (since 5.0.20). When non-null, supply implementations should periodically check AsyncContext.isInterrupted and return early if true.