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
dimensionID
int
The dimension ID the crafting process is performed in
ZenGetter
world
IWorld
The world the crafting process is performed in