Page 1 of 1

[resolved] Add is_crafting() for furnaces

Posted: Thu Jul 14, 2016 10:40 am
by binbinhfr
Hi,

entity.is_crafting() and entity.crafting_progress are supposed to work on CraftingMachine, but they trigger error on Furnaces.
Is it a bug, or a missing feature ? It would be nice to have these values on furnaces too, because they are crafting a lot of things too.

Re: [0.13.8] is_crafting and furnaces ?

Posted: Thu Jul 14, 2016 10:43 am
by Klonan
binbinhfr wrote:Hi,

entity.is_crafting() and entity.crafting_progress are supposed to work on CraftingMachine, but they trigger error on Furnaces.
Is it a bug, or a missing feature ? It would be nice to have these values on furnaces too, because they are crafting a lot of things too.
Well the docs state it only works for crafting machine, so i will move this to modding interface requests :)

Re: Add is_crafting() for furnaces

Posted: Thu Jul 14, 2016 11:59 am
by Rseding91
What are you talking about? They work perfectly on furnaces. I just tested both of them and everything reports correct values.

Re: Add is_crafting() for furnaces

Posted: Thu Jul 14, 2016 12:36 pm
by binbinhfr
Ooops, sorry guys, it was a typo in my code... It works indeed.