// priority: 0 ServerEvents.recipes(event => { const stonecutting = event.stonecutting; var transmute = function (arrayOfBlocks) { var cpt = 0; while (cpt < arrayOfBlocks.length) { var otherBlocks = arrayOfBlocks.slice(0, cpt).concat(arrayOfBlocks.slice(cpt + 1)); stonecutting(arrayOfBlocks[cpt], otherBlocks); cpt++; } } //Bamboo blocks //transmute(['quark:bamboo_block', 'thermal:bamboo_block']) //transmute(['thermal:bamboo_block', 'quark:bamboo_block']) })