Object VanillaSearch
-
- All Implemented Interfaces:
public class VanillaSearch
-
-
Field Summary
Fields Modifier and Type Field Description public final static VanillaSearchINSTANCE
-
Method Summary
Modifier and Type Method Description final static Recipesearch(World world, CraftView view, Explainer explainer)if a recipe found with provided input, returns that. final static Recipesearch(World world, CraftView view)if a recipe found with provided input, returns that. final static Recipesearch(World world, Map<CoordinateComponent, ItemStack> mapped, Explainer explainer)If a recipe found with provided input, returns that. final static Recipesearch(World world, Map<CoordinateComponent, ItemStack> mapped)If a recipe found with provided input, returns that. -
-
Method Detail
-
search
@JvmOverloads() final static Recipe search(World world, CraftView view, Explainer explainer)
if a recipe found with provided input, returns that. but, there is no recipe to find with provided inputs, returns null.
- Parameters:
world- a crafter exists worldview- an input viewexplainer- Logs container instance (since 5.3.- Returns:
Recipe a found recipe
-
search
@JvmOverloads() final static Recipe search(World world, CraftView view)
if a recipe found with provided input, returns that. but, there is no recipe to find with provided inputs, returns null.
- Parameters:
world- a crafter exists worldview- an input view- Returns:
Recipe a found recipe
-
search
@JvmOverloads() final static Recipe search(World world, Map<CoordinateComponent, ItemStack> mapped, Explainer explainer)
If a recipe found with provided input, returns that. But, there is no recipe to find with provided inputs, returns null.
- Parameters:
world- crafter exists worldmapped- input itemsexplainer- Logs container instance (since 5.3.- Returns:
Recipe a found recipe
- Since:
5.0.14
-
search
@JvmOverloads() final static Recipe search(World world, Map<CoordinateComponent, ItemStack> mapped)
If a recipe found with provided input, returns that. But, there is no recipe to find with provided inputs, returns null.
- Parameters:
world- crafter exists worldmapped- input items- Returns:
Recipe a found recipe
- Since:
5.0.14
-
-
-
-