Skip to content

Description Category (Just Enough Items)

Description

Modify the description of the input items, where the description is a unique JEI tab containing text.

Identifier

The identifier mods.jei.description will be used as the default on this page.

All Identifiers

Any of these can be used to refer to this compat:

groovy
mods.hei.description
mods.hei.Description
mods.jei.description/* Used as page default */
mods.jei.Description

Adding Entries

  • Adds the given description to the given ingredients, translating the description lines as needed:

    groovy
    mods.jei.description.add(IIngredient, String...)
  • Adds the given description to the given ingredients, translating the description lines as needed:

    groovy
    mods.jei.description.add(IIngredient, List<String>)
  • Adds the given description to the given ingredients, translating the description lines as needed:

    groovy
    mods.jei.description.add(List<IIngredient>, String...)
  • Adds the given description to the given ingredients, translating the description lines as needed:

    groovy
    mods.jei.description.add(List<IIngredient>, List<String>)
Example
groovy
mods.jei.description.add(item('minecraft:gold_ingot'), 'groovyscript.recipe.fluid_recipe')
mods.jei.description.add(item('minecraft:clay'), ['wow', 'this', 'is', 'neat'])

Removing Entries

  • Removes any description from the given ingredients:

    groovy
    mods.jei.description.remove(IIngredient...)
  • Removes any description from the given ingredients:

    groovy
    mods.jei.description.remove(List<IIngredient>)
Example
groovy
mods.jei.description.remove(item('thaumcraft:triple_meat_treat'))

Contributors

© 2024 CleanroomMC. All Rights Reserved.