Adding Items - mezz/JustEnoughItems GitHub Wiki
[!NOTE] Version note: This page covers adding item ingredients for Minecraft 1.12.2.
Other ingredient pages:
- Minecraft 1.16.5, 1.18.2, 1.19.2, and 1.20.1: Adding/Hiding Items, Item Subtypes
- Minecraft 1.21, 1.21.1, 1.21.11, 26.1.2, and 26.2: Ingredients and Visibility
Overview
JEI automatically adds items from the following sources:
- Creative Tabs
- Item Registry
- Block Registry (using
Item.getItemFromBlock(block))
Adding Items
-
If you want to add items to JEI, just make sure they are registered with the game correctly.
-
If a subtype of your item is missing, make sure it is in your mod's creative tabs.
-
If it's in the creative tab but still missing, JEI probably thinks the item is a duplicate of a similar item.
To resolve this issue see the section on Item Subtypes.
Removing Items
See the section on Hiding Ingredients.
Details
See ItemStackListFactory for the implementation.