Page 1 of 1

How to get crafting speed and productivity of an entity?

Posted: Mon Dec 12, 2016 9:07 pm
by can00336
I want to get the craft speed and productivity of an entity including beacon effects. I can't seem to find a suitable api call to get these values. Do they exist? If not, how would I go about doing this?

Thanks.

Re: How to get crafting speed and productivity of an entity?

Posted: Mon Dec 12, 2016 9:11 pm
by DaveMcW
You can try asking Rseding91 nicely.

viewtopic.php?f=28&t=33542

Re: How to get crafting speed and productivity of an entity?

Posted: Mon Dec 12, 2016 9:20 pm
by can00336
DaveMcW wrote:You can try asking Rseding91 nicely.

viewtopic.php?f=28&t=33542
So, the consensus is that such functionality does not yet exist in the modding API. Any known workarounds? Something like, calculate speed and productivity from modules in the entity and somehow calculate the speed from modules in any in-range beacons?

Thanks.

Re: How to get crafting speed and productivity of an entity?

Posted: Mon Dec 12, 2016 9:50 pm
by DaveMcW
Nope, it's not even possible to get the crafting speed of a basic assembling machine.

If you're really determined to build a workaround, there is a hack to peek at data.raw without going through the API. viewtopic.php?f=92&t=38459