Hiding Specific Items From the JEI Search List, Explained
Just Enough Items (JEI) is an indispensable utility for any Minecraft player, offering an easy way to view recipes, item uses, and browse all available items in the game. However, with the vast number of mods available, the JEI item list can become cluttered with items that are redundant, unused, or simply unwanted. Fortunately, JEI provides built-in mechanisms to hide specific items, decluttering your interface and enhancing your gameplay experience. This guide will walk you through the comprehensive methods for hiding items, ranging from JEI’s in-game functionality to advanced modpack customization with CraftTweaker.
![]()
The core principle behind hiding items in JEI is to remove their entries from the display without actually removing the items from the game itself. This means that while an item may not appear in your JEI search results, it can still be crafted, found, or used within the game if it exists. JEI manages these hidden items by saving them to a configuration file, typically named blacklist.cfg or itemBlacklist.cfg, located within your game’s config folder. Understanding these mechanics is crucial for effective item management.
Utilizing JEI’s In-Game Item Hiding Functionality
The most straightforward method for hiding items involves using JEI’s integrated “Item List Edit Mode” or “Hide Ingredients Mode.” This feature allows you to directly interact with the JEI interface to toggle item visibility. It’s ideal for individual players or for quick adjustments within a modpack.
Step-by-Step Process for In-Game Hiding:
- Access JEI Configuration: Begin by opening the JEI interface, usually by pressing the ‘E’ key to open your inventory. Locate the small wrench icon situated near the search bar within the JE JEI item list. Clicking this icon will open JEI’s configuration options.
- Enable “Hide Ingredients Mode”: Within the configuration screen, you’ll need to find and enable the “Hide Ingredients Mode” or “Item List Edit Mode” setting. This mode might also be toggled via a hotkey, with Ctrl+H being a common default binding. Enabling this mode signals to JEI that you intend to make changes to item visibility.
- Exit Configuration: After enabling the hiding mode, click the “Done” button to close the configuration screen and return to the main JEI item list. You should now be in the special editing mode.
- Hide Individual Items: To hide a single, specific item, navigate to it in the JEI list. While in “Hide Ingredients Mode,” perform a Control-click (Ctrl-Left Click) on the item. You will typically see a visual indicator, such as the item being grayed out or a tooltip confirming it has been hidden.
- Hide Related Items or Groups: For situations where you want to hide all variations of an item or a group of similar items (for example, all colors of a specific type of wool or concrete), you can often use a Control-right-click (Ctrl-Right Click) on one of the items. This action intelligently hides other related items, saving you the effort of clicking each one individually. The exact behavior of Ctrl-Right Click can vary slightly depending on the item and mod, but it’s a powerful tool for bulk hiding.
- Disable “Hide Ingredients Mode”: Once you have finished hiding all desired items, it is crucial to return to the JEI configuration screen (via the wrench icon) and disable “Hide Ingredients Mode.” Forgetting to do this can lead to accidentally hiding other items as you browse or interact with JEI later.
- Apply Changes: For your changes to fully take effect and for the hidden items to disappear from the JEI list, you may need to exit and rejoin your world. In some cases, using the Minecraft command
/reloadin single-player or as an operator on a server might also refresh the JEI list.
Important Considerations for In-Game Hiding:
- The
blacklist.cfgFile: All items you hide using this method are recorded in a configuration file, typically namedblacklist.cfgoritemBlacklist.cfg. This file is located in your Minecraft instance’sconfigfolder. - Modpack Distribution: For modpack developers, this file is invaluable. You can pre-configure a
blacklist.cfgfile with all unwanted items and distribute it with your modpack. This ensures that all users start with a clean and curated JEI experience, free from items that might be redundant or disabled in your pack. - Unhiding Items: If you ever wish to unhide an item that was hidden using the in-game method, you cannot do so directly through the JEI interface. Instead, you must manually open the
blacklist.cfgfile with a text editor (like Notepad or VS Code) and remove the specific entry for the item you wish to unhide. Save the file, and then reload your game or world for the change to register. - In-Mode Tooltips: When you are in “Hide Ingredients Mode,” JEI often displays helpful tooltips that explain the specific controls for hiding items (Ctrl-Left Click, Ctrl-Right Click). Pay attention to these on-screen prompts.
Common Mistakes to Avoid with In-Game Hiding:
- Forgetting to Disable Mode: A very common oversight is forgetting to turn off “Hide Ingredients Mode” after you’ve finished hiding items. If you leave it enabled, any subsequent Ctrl-clicks or Ctrl-right-clicks on items will inadvertently hide them, potentially leading to confusion later. Always remember to disable the mode.
- Confusing Hiding with Removal: It is critical to remember that hiding an item in JEI only affects its visibility within the JEI interface. It does not remove the item from the game itself. If an item is disabled or unwanted in your modpack, you might need additional modpack configurations (e.g., using CraftTweaker to remove recipes) beyond just hiding it in JEI.
- Not Reloading/Restarting: Depending on your specific Minecraft version, mod setup, and JEI version, changes made to the blacklist might not immediately reflect in the JEI list. Always be prepared to exit and rejoin your world or use the
/reloadcommand to ensure the item list updates correctly.
Advanced Hiding with CraftTweaker
For modpack developers and users requiring more robust, programmatic, and permanent control over item visibility, CraftTweaker offers a powerful solution. CraftTweaker is a third-party mod that allows extensive customization of Minecraft and modded content through scripting. It provides a more reliable and less error-prone method for managing JEI visibility across an entire modpack.
How to Use CraftTweaker for JEI Hiding:
- CraftTweaker Integration: CraftTweaker includes specific functions designed to interact with JEI. These functions are executed via Zenscript files (
.zsfiles) that you place in your Minecraft instance’sscriptsfolder. - The
mods.jei.JEI.hideCommand: The primary command for hiding items using CraftTweaker ismods.jei.JEI.hide(IItemStack item);. - Scripting Example: To hide a specific item, you would add a line similar to this in your Zenscript file:
mods.jei.JEI.hide(<minecraft:dirt>);- This line would effectively hide the default Minecraft Dirt block from the JEI list. You would replace
<minecraft:dirt>with the correct item ID for the item you wish to hide. CraftTweaker also allows hiding entire JEI categories, offering even greater control for advanced modpack customization.
- Benefits of CraftTweaker:
- Robustness: CraftTweaker scripts are processed when the game loads, ensuring that items are hidden consistently every time the game starts.
- Permanence: Unlike the in-game method, which relies on a user-editable config file, CraftTweaker scripts provide a more permanent solution that is harder for end-users to accidentally override.
- Modpack Development: It’s an essential tool for modpack developers who need to fine-tune the JEI experience, remove duplicate items, or hide content that is intentionally disabled or irrelevant in their pack.
- Version Control: Scripts can be easily managed under version control systems, making collaboration and updates simpler.
Conclusion
Whether you’re a casual player looking to clean up your personal JEI interface or a modpack developer aiming for a polished and curated experience, understanding how to hide specific items from the JEI search list is a valuable skill. The in-game “Hide Ingredients Mode” offers a quick and accessible way to manage visibility, while CraftTweaker provides a powerful and programmatic solution for more advanced scenarios and modpack distribution. By employing these methods thoughtfully and avoiding common pitfalls, you can significantly enhance your Minecraft gameplay and navigation experience.