Skip to content

Adding and Hiding Items [1.13 and Up]

hammy3502 edited this page Apr 11, 2021 · 1 revision

Overview

JEI automatically adds items automatically from multiple sources, including:

  • Creative Tabs
  • The Item Registry
  • The Block Registry

Adding Items

  1. Make sure your item is registered properly. If you can't /give it to yourself, odds are it isn't registering!

  2. 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.

Removing/Hiding Items

Assuming you already have a JEI plugin created, you can hide items by using IRecipeRegistration.getIngredientManager().removeIngredientsAtRuntime() during registerRecipes().