An ICraftingRecipe is a crafting table recipe the way ZS sees it.

Importing the class

Link to importing-the-class

It might be required to import the class to avoid errors.
import crafttweaker.recipes.ICraftingRecipe

ZenMethods/Getters

Link to zenmethodsgetters

Either returns an IIngredient[] or an IIngredient[][]

ZenScript
Copy
rec.ingredients1D
rec.ingredients2D

Get standart output

Link to get-standart-output

Returns the ouptut as IItemStack. Careful, can be null!

ZenScript
Copy
rec.output

Check for conditions

Link to check-for-conditions

Each of these returns a boolean

ZenScript
Copy
rec.hasTransformers;
rec.hasRecipeAction;
rec.hasRecipeFunction;
rec.hidden;
rec.shaped;

Basically, the modid of the mod that added the recipe.

ZenScript
Copy
rec.resourceDomain;
rec.fullResourceDomain;

Returns the ingredients list as IIngredient[] or IIngredient[][] respectively.

ZenScript
Copy
rec.ingredients1D;
rec.ingredients2D;

The IItemStack output of the recipe.

ZenScript
Copy
rec.output;
ZenScript
Copy
rec.commandString;
rec.toCommandString();

rec.name;
rec.getName();