Home Getting Started With Scripts Commands Examples
This page relates to Atum 2, which has built-in support!

Quern

Adding a Recipe

<recipetype:atum:quern>.addRecipe(input, output, rotations);

Adds a recipe with the specified input & output, that takes the specified rotations to complete querning

script.zs
<recipetype:atum:quern>.addRecipe(<item:atum:fertile_soil>, <item:atum:fertile_soil_pile>, 3);

Removing a Recipe

Remove Recipes by Output

<recipetype:atum:quern>.removeRecipeByOutput(output);

Removes all recipes where the output result is the provided IItemStack.

script.zs
<recipetype:atum:quern>.removeRecipeByOutput(<item:atum:emmer_flour>);

Remove Recipes by Output & Input

<recipetype:atum:quern>.removeRecipeByOutputInput(output, input);

Removes the specific recipe, with the specified output & input

script.zs
<recipetype:atum:quern>.removeRecipeByOutputInput(<item:atum:emmer_flour>, <item:atum:emmer>);

Other removal methods

See Recipe Managers for other ways to remove Quern recipes