Object VanillaSearch

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • 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 world
        view - an input view
        explainer - 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 world
        view - 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 world
        mapped - input items
        explainer - 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 world
        mapped - input items
        Returns:

        Recipe a found recipe

        Since:

        5.0.14