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

Refer to this via any of the following:

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, List<String>)
  • 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(List<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...)
Example
groovy
mods.jei.description.add(item('minecraft:clay'), ['wow', 'this', 'is', 'neat'])
mods.jei.description.add(item('minecraft:gold_ingot'), 'groovyscript.recipe.fluid_recipe')

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'))

© 2024 CleanroomMC. All Rights Reserved.