Essential Extras [1.13 and Up] - mezz/JustEnoughItems GitHub Wiki
Item Descriptions
JEI supports adding descriptions for items so players can easily learn what an items does. To add a description, inside of your plugin's registerRecipes()
function, call IRecipeRegistration.addIngredientInfo(ItemStack item, IIngredientType type, Component... description)
. Note that in this case, type
is the type of ingredient. If you haven't added your own type, this should either be VanillaTypes.ITEM_STACK
or ForgeTypes.FLUID
.