Interface IJeiProxy


public interface IJeiProxy
An interface (and placeholder) to intercept callouts to JEI when it is not running.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Check if JEI is loaded.
    default boolean
    showRecipes(Collection<net.minecraft.world.item.ItemStack> stacks)
    Open JEI filtered to showing recipes for any of the specified items.
  • Method Details

    • isLoaded

      default boolean isLoaded()
      Check if JEI is loaded.
      Returns:
      true if so.
    • showRecipes

      default boolean showRecipes(Collection<net.minecraft.world.item.ItemStack> stacks)
      Open JEI filtered to showing recipes for any of the specified items.
      Parameters:
      stacks - the items to filter to.
      Returns:
      true if JEI was shown.