Invalid leaf directive! `since`

Represents a recipe that fully consumes its singular input, producing no tangible output.

The output is represented by a JeiDrawable with optional animation that acts as the representation of the "immaterial" output of the recipe.

This category also renders some recipe-dependent text allowing to better specify the result of the recipe (e.g. specifying the exact amount of energy that gets produced or the amount of time required to fully consume a particular ingredient).

The category allows specifying the recipe-specific text, by setting the extra component named "result_text" in a recipe graphics.

This class was added by a mod with mod-id jeitweaker. Так что если вы хотите использовать эту функцию, вам нужно установить этот мод.

Импорт класса

Link to импорт-класса

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import mods.jei.category.InputConsuming;

Extending SimpleJeiCategory

Link to extending-simplejeicategory

InputConsuming extends SimpleJeiCategory. That means all methods available in SimpleJeiCategory are also available in InputConsuming

Link to setOutputDrawables

Name: setOutputDrawables

Sets a pair of JeiDrawables that act as the output of the recipe.

The drawable representing the background is always drawn, whereas the animation is drawn only if present. For this reason, a null animation drawable effectively disables the animation.

Return Type: void

ZenScript
Copy
InputConsuming.setOutputDrawables(background as JeiDrawable, animation as JeiDrawable?) as void
ПараметрТипОписание
Параметр
background
Тип
JeiDrawable
Описание
The drawable to use as output background.
Параметр
animation
Тип
JeiDrawable?
Описание
The drawable to use as output animation, or null if no output is desired.

Свойства

Link to свойства

НазваниеТипИмеет GetterИмеет SetterОписание
Название
baseResultText
Тип
void
Имеет Getter
false
Имеет Setter
true
Описание
Sets the base text that should appear before the recipe-specific text in the recipe category.