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

crafterId

Crafter UUID

relation

Coordinate mapping between a CRecipe and an input Inventory

mapped

Coordinates and input items mapping

shiftClicked

Shift-clicked or not

calledTimes

Calculated minimum amount with CMatter.amount

callMode

Indicates whether this invocation is a real craft or an icon generation for display (since 5.0.21)

asyncContext

Async context (since 5.0.20). When non-null, supply implementations should periodically check AsyncContext.isInterrupted and return early if true.