Home Commands Examples Getting Started With Scripts Global Keywords
Generic JSON Recipes

OutputList

Represents a recipe that has no inputs, but produces a certain set of outputs.

The amount of rows of output can be manually set. Each row has space for up to 9 outputs.

Importing the class

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.

script.zs
import mods.jei.category.OutputList;

Extending SimpleJeiCategory

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

Properties

NameTypeHas GetterHas SetterDescription
Name
rows
Type
void
Has Getter
false
Has Setter
true
Description
Sets the amount of rows that should be present for each recipe.