From 6168cccf4d07bbb228baed70234cd7ddc5f76eef Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Mon, 7 Feb 2022 23:46:34 -0600 Subject: [PATCH] Fix casting for blocks --- .../HarmoniousEngineering/recipes/unify/metals.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/kubejs/server_scripts/HarmoniousEngineering/recipes/unify/metals.js b/kubejs/server_scripts/HarmoniousEngineering/recipes/unify/metals.js index 9f43c99..db2b352 100644 --- a/kubejs/server_scripts/HarmoniousEngineering/recipes/unify/metals.js +++ b/kubejs/server_scripts/HarmoniousEngineering/recipes/unify/metals.js @@ -36,10 +36,13 @@ onEvent('recipes', event => { allMetals.forEach(metal => { const ing = `emendatusenigmatica:${metal}_ingot`; const nug = `emendatusenigmatica:${metal}_nugget`; + const blk = `emendatusenigmatica:${metal}_block`; const ingTag = `forge:ingots/${metal}`; const nugTag = `forge:nuggets/${metal}`; + const blkTag = `forge:storage_blocks/${metal}`; event.remove({type: 'tconstruct:casting_table', output: `#${ingTag}`}); event.remove({type: 'tconstruct:casting_table', output: `#${nugTag}`}); + event.remove({type: 'tconstruct:casting_table', output: `#${blkTag}`}); ingotCasts.forEach(cast => { event.custom({ @@ -66,5 +69,15 @@ onEvent('recipes', event => { cooling_time: 7, }); }); + + event.custom({ + type: 'tconstruct:casting_basin', + fluid: { + tag: `forge:molten_${metal}`, + amount: 1296, + }, + result: {item: blk}, + cooling_time: 150, + }); }); });