The IcraftingInfo object contains all kinds of information on the crafting process itself:

Importing the class

Link to importing-the-class

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

ZenGetter
ZenGetter
inventory
ICraftingInventory
The inventory the crafting is performed in
ZenGetter
player
IPlayer
The player conducting the crafting
ZenGetter
dimension
int
The dimension the crafting process is performed in