Interface IJeiProxy
public interface IJeiProxy
An interface (and placeholder) to intercept callouts to JEI when it is not running.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisLoaded()Check if JEI is loaded.default booleanshowRecipes(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
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.
-