ICraftingRecipe

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

Importing the class

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

ZenMethods/Getters

Get Ingredients

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

rec.ingredients1D
rec.ingredients2D

Get standart output

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

rec.output

Check for conditions

Each of these returns a boolean

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

resourceDomain

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

rec.resourceDomain;
rec.fullResourceDomain;

Ingredients

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

rec.ingredients1D;
rec.ingredients2D;

Output

The IItemStack output of the recipe.

rec.output;

To String

rec.commandString;
rec.toCommandString();

rec.name;
rec.getName();