search

fun search(world: World, view: CraftView): 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


fun search(world: World, mapped: Map<CoordinateComponent, ItemStack>): 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