BetaPrivateconstructorReadonlyinputThis property can't be read in early-execution mode.
ReadonlyisWhether this recipe crafting context is valid. Invalidates when the player closes the crafting UI or leaves.
This property can't be read in early-execution mode.
ReadonlyvalidThis property can't be read in early-execution mode.
The zero-based input slot index.
The item stack in the input slot, or undefined if the slot is empty.
This function can't be called in early-execution mode.
The output item stack, or undefined if there is no output.
This function can't be called in early-execution mode.
The zero-based input slot index.
Optionalitem: ItemStackThe item stack to place in the slot, or undefined to clear the slot.
This function can't be called in early-execution mode.
The identifier of a valid recipe to select.
This function can't be called in early-execution mode.
Provides access to the slots and recipe of a players active crafting UI ie. stonecutter.
Source