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 isAsync: Boolean = false)
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
is Async
Called from async or not (since 5.0.17)
Constructors
Link copied to clipboard
constructor(recipe: CRecipe, relation: MappedRelation, mapped: Map<CoordinateComponent, ItemStack>, shiftClicked: Boolean, calledTimes: Int, crafterID: UUID, isMultipleDisplayCall: Boolean, isAsync: Boolean = false)