Repository navigation
Adding and Hiding Items [Minecraft 1.16.5 to 1.18.2]
Note
Version note: This page covers adding and hiding item ingredients for Minecraft 1.16.5β1.20.1. Use the API Javadocs for exact class and method names on the version you target.
Other ingredient pages:
- Minecraft 1.12.2: Adding Items, Hiding Ingredients, Item Subtypes, Non-Item Ingredients
- Minecraft 1.21β26.3: Ingredients and Visibility
JEI automatically adds items automatically from multiple sources, including:
- Creative Tabs
- The Item Registry
- The Block Registry
-
Make sure your item is registered properly. If you can't
/giveit to yourself, odds are it isn't registering! -
If a subtype of your item is missing, make sure it's in a creative tab. If it's still missing afterwards, JEI might think it's a duplicate of another item, you can register it during
registerItemSubtypes.
Assuming you already have a JEI plugin created, you can hide items by using IRecipeRegistration.getIngredientManager().removeIngredientsAtRuntime() during registerRecipes().
List of Plugin Implementations
- Setup
- Ingredients and Search
- Recipes
- Overview/What To Do
- Custom Machine Recipes
- Recipe Categories
- Recipe Transfer
- Vanilla Recipe Extensions
- Screen Integration
- Setup
- Ingredients and Search
- Recipes
- Overview/What To Do
- Custom Machine Recipes
- Recipe Categories
- Recipe Transfer
- Vanilla Recipe Extensions
- Screen Integration
- Setup
- Ingredients and Search
- Recipes
- Setup
- Item Ingredients
- Working with Recipes
- Essential Extras
- Advanced
- Setup
- Item Ingredients
- Working with Recipes
- Essential Extras
- Advanced
- Setup
- Item Ingredients
- Working with Recipes
- Essential Extras
- Advanced