Ability to have player craft item

Post Reply
Mythbrion
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Mar 13, 2016 9:15 am
Contact:

Ability to have player craft item

Post by Mythbrion »

Hi there,
Was just trying to find the method that is called when you click an item to craft.
I realise there is an insert command to place an item in the player's inventory, but I would like to be able to have a player begin crafting an item on a condition set in a mod.
Hoping there is a simple 'player.craft(itemname, quantity)' style solution, but I couldn't find the code to do it.

Thank you.

Post Reply

Return to “Implemented mod requests”