CMatterPredicate

fun interface CMatterPredicate

A CMatter predicate function.

See also

Types

Link copied to clipboard
class Context @JvmOverloads constructor(val coordinate: CoordinateComponent, val matter: CMatter, val input: ItemStack, val mapped: Map<CoordinateComponent, ItemStack>, val recipe: CRecipe, val crafterId: UUID, val asyncContext: AsyncContext? = null)

CMatterPredicate context

Functions

Link copied to clipboard

Runs this operation. If Context.asyncContext is non-null, periodically check AsyncContext.isInterrupted and return early when true to support cooperative cancellation.