Context
class Context @JvmOverloads constructor(val input: CraftView, val crafterId: UUID, val recipe: CRecipe, val relation: MappedRelation, val asyncContext: AsyncContext? = null)
Context for CRecipePredicate
Since
5.0.17
Parameters
input
Inspection target
crafter Id
Crafter UUID
recipe
Recipe
relation
Pre-result of inspection
async Context
Async context (since 5.0.20). When non-null, test implementations should periodically check AsyncContext.isInterrupted and return early if true.
Constructors
Link copied to clipboard
constructor(input: CraftView, crafterId: UUID, recipe: CRecipe, relation: MappedRelation, asyncContext: AsyncContext? = null)