search

fun search(world: World, view: CraftView, explainer: Explainer? = null): Recipe?

if a recipe found with provided input, returns that. but, there is no recipe to find with provided inputs, returns null.

Return

Recipe a found recipe

Parameters

world

a crafter exists world

view

an input view

explainer

Logs container instance (since 5.3.0)


fun search(world: World, mapped: Map<CoordinateComponent, ItemStack>, explainer: Explainer? = null): Recipe?

If a recipe found with provided input, returns that. But, there is no recipe to find with provided inputs, returns null.

Return

Recipe a found recipe

Since

5.0.14

Parameters

world

crafter exists world

mapped

input items

explainer

Logs container instance (since 5.3.0)