Context
class Context @JvmOverloads constructor(val recipe: CRecipe, val relation: MappedRelation, val mapped: Map<CoordinateComponent, ItemStack>, val shiftClicked: Boolean, val calledTimes: Int, val crafterID: UUID, val isMultipleDisplayCall: Boolean, val asyncContext: AsyncContext? = null)
This class contains ResultSupplier parameters.
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
is Multiple Display Call
invoke called from multiple result display item collector or not
async Context
Async context (since 5.0.20)
Constructors
Link copied to clipboard
constructor(recipe: CRecipe, relation: MappedRelation, mapped: Map<CoordinateComponent, ItemStack>, shiftClicked: Boolean, calledTimes: Int, crafterID: UUID, isMultipleDisplayCall: Boolean, asyncContext: AsyncContext? = null)