Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes

SimpleInputOutput

Represents a simple 1 input per 1 output recipe, which is the most common usage of custom categories.

Due to its pure simplicity, no configuration is available for this recipe.

This class was added by a mod with mod-id jeitweaker. So you need to have this mod installed if you want to use this feature.

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.SimpleInputOutput;

Extending SimpleJeiCategory

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