Page 1 of 1

events.on_entity_finished_crafting

Posted: Thu Jun 29, 2017 10:47 am
by jmickle_
Hi, just a simple event request: An event that fires when an assembler or furnace (and possibly boilers?) finishes crafting an item, to enable custom behaviour with the result.

This is already possible by cycling the entities every tick and checking if it has an item in the output, but I imagine an event for this occasion would be much more performant, and simplify code.

Re: events.on_entity_finished_crafting

Posted: Thu Jun 29, 2017 11:14 am
by Rseding91
We specifically didn't make such an event because it would be a large performance drain on the game to call so often even when there isn't a single mod listening to it.

Re: events.on_entity_finished_crafting

Posted: Thu Jun 29, 2017 12:18 pm
by jmickle_
That makes sense! Thanks for the response.