Modern Industrialization

Modern Industrialization

4M Downloads

KubeJS compat bug, replaceInput/Output don't work as they should

WhitePhant0m opened this issue ยท 0 comments

commented

using replaceInput/Output seems to make machine recipes lose item counts.

ServerEvents.recipes((event) => {
	event.replaceInput({}, 'minecraft:raw_iron', 'minecraft:raw_iron');
	event.replaceOutput({}, 'minecraft:raw_iron', 'minecraft:raw_iron');
});

{BE4DDCB2-86BF-41A6-AECC-A5C6905F8492}
{D1A89A53-7E1A-4974-AF73-C36477ED7F37}

NF - 21.0.150
MI - 2.2.16-beta
KubeJS - 2100.7.0-build119

I'm assuming this is a bug in the KJS compat since replaceInput/Output seem to work as intended for crafting/furnace recipes