Modern Industrialization

Modern Industrialization

4M Downloads

kjs 6.1 recipe parser ignores count and chance for output items

Abalieno opened this issue ยท 3 comments

commented

event.custom works normally, this is only about MI kjs internal plugin.

Happens on both REI and EMI, I haven't tested if running recipes are working for some reason. Kjs build doesn't seem relevant.

rukykik

yukyikuik

Can't see chances in the image, but the 5x for copper is ignored and none of the tooltips show chances. This for outputs only because the inputs show "9%" and "not consumed" as they should.

commented

likely caused by KubeJS using "chance" property and MI using "probability" property. MI implements its own input item that uses the "probability" property so that is likely why it is working. Fluid outputs should work fine since that is also a custom parser

Can you try providing an item object using the chance property instead of using the id, chance syntax?

commented

Cannot pass "chance" to MI internal parser. Can't mix syntax on a whim.

Also, counts aren't working either.

commented

Thanks @Linguardium for figuring out the issue.