Ingredient Sidebar (Just Enough Items)
Description
Modify what ingredients show up in the search menu sidebar.
Note
Hidden ingredients will still take up load time, and recipes to create them can still be done. This only prevents seeing the ingredients in JEI.
Identifier
Refer to this via any of the following:
mods.hei.ingredient
mods.hei.Ingredient
mods.hei.sidebar
mods.hei.Sidebar
mods.jei.ingredient/* Used as page default */
mods.jei.Ingredient
mods.jei.sidebar
mods.jei.Sidebar
Adding Entries
Adds the given ingredient with its given NBT data to JEI:
groovymods.jei.ingredient.add(IIngredient)
Adds the given ingredient with its given NBT data to JEI:
groovymods.jei.ingredient.add(IIngredient...)
Adds the given ingredient with its given NBT data to JEI:
groovymods.jei.ingredient.add(IIngredientType<?>, Collection<Object>)
Adds the given ingredient with its given NBT data to JEI:
groovymods.jei.ingredient.add(IIngredientType<?>, Object...)
Adds the given ingredient with its given NBT data to JEI:
groovymods.jei.ingredient.add(Iterable<IIngredient>)
Example
mods.jei.ingredient.add(item('minecraft:stone:1').withNbt([display:[Name:'Special Granite']]))
mods.jei.ingredient.add(VanillaTypes.ITEM, item('minecraft:bed').withNbt([display:[Name:'Beds come in 16 different colors!']]))
Removing Entries
Hides the ingredient from JEI:
groovymods.jei.ingredient.hide(IIngredient)
Hides the ingredient from JEI:
groovymods.jei.ingredient.hide(IIngredient...)
Hides the ingredient from JEI:
groovymods.jei.ingredient.hide(IIngredientType<?>, Collection<Object>)
Hides the ingredient from JEI:
groovymods.jei.ingredient.hide(IIngredientType<?>, Object...)
Hides the ingredient from JEI:
groovymods.jei.ingredient.hide(Iterable<IIngredient>)
Hides all ingredients of the given type:
groovymods.jei.ingredient.hideByType(IIngredientType<?>)
Removes the vanilla crafting recipe for the given ItemStack and hides the item from JEI:
groovymods.jei.ingredient.removeAndHide(IIngredient)
Removes the vanilla crafting recipe for the given ItemStack and hides the item from JEI:
groovymods.jei.ingredient.removeAndHide(IIngredient...)
Removes the vanilla crafting recipe for the given ItemStack and hides the item from JEI:
groovymods.jei.ingredient.removeAndHide(Iterable<IIngredient>)
Alias for
removeAndHide
:groovymods.jei.ingredient.yeet(IIngredient)
Alias for
removeAndHide
:groovymods.jei.ingredient.yeet(IIngredient...)
Alias for
removeAndHide
:groovymods.jei.ingredient.yeet(Iterable<IIngredient>)
Hides all ingredients of all types from the sidebar. Functionally disables JEI:
groovymods.jei.ingredient.hideAll()
Example
mods.jei.ingredient.hide(fluid('water'))
mods.jei.ingredient.hide(item('minecraft:stone:1'), item('minecraft:stone:3'))
mods.jei.ingredient.hide(VanillaTypes.ITEM, item('minecraft:bed:*'))
mods.jei.ingredient.hide(mekanism.client.jei.MekanismJEI.TYPE_GAS, gas('tritium'))
mods.jei.ingredient.hideByType(com.buuz135.thaumicjei.ThaumcraftJEIPlugin.ASPECT_LIST)
mods.jei.ingredient.hideByType(mekanism.client.jei.MekanismJEI.TYPE_GAS)
mods.jei.ingredient.hideByType(VanillaTypes.ITEM)
mods.jei.ingredient.hideByType(VanillaTypes.ENCHANT)
mods.jei.ingredient.hideByType(VanillaTypes.FLUID)
mods.jei.ingredient.hideAll()