diff --git a/kubejs/server_scripts/gregtech/utility.js b/kubejs/server_scripts/gregtech/utility.js index 0ed85c38e..28b4d7c08 100644 --- a/kubejs/server_scripts/gregtech/utility.js +++ b/kubejs/server_scripts/gregtech/utility.js @@ -153,10 +153,8 @@ function generatePlatedBlockRecipe(event, material) { if (tfcMetalName === "iron") tfcMetalName = "cast_iron"; - event.recipes.create.item_application(platedBlock, ['#forge:stone_bricks', plateItem]) - .id(`tfg:item_application/${material.getName()}_plated_block`) - event.recipes.createDeploying(platedBlock, ['#forge:stone_bricks', plateItem]) - .id(`tfg:deploying/${material.getName()}_plated_block`) + event.shapeless(platedBlock, ['#forge:stone_bricks', plateItem, '#forge:tools/hammers']) + .id(`tfg:shapeless/${material.getName()}_plated_block`) event.recipes.gtceu.assembler(`tfg:${material.getName()}_plated_block`) .itemInputs('#forge:stone_bricks', plateItem) .itemOutputs(platedBlock) @@ -183,13 +181,11 @@ function generatePlatedBlockRecipe(event, material) { .EUt(GTValues.VA[GTValues.LV]) - event.recipes.create.item_application(platedSlab, ['#tfg:brick_slabs', plateItem]) + event.shapeless(platedSlab.withCount(2), ['2x #tfg:brick_slabs', plateItem, '#forge:tools/hammers']) .id(`tfg:item_application/${material.getName()}_plated_slab`) - event.recipes.createDeploying(platedSlab, ['#tfg:brick_slabs', plateItem]) - .id(`tfg:deploying/${material.getName()}_plated_slab`) event.recipes.gtceu.assembler(`tfg:${material.getName()}_plated_slab`) - .itemInputs('#tfg:brick_slabs', plateItem) - .itemOutputs(platedSlab) + .itemInputs('2x #tfg:brick_slabs', plateItem) + .itemOutputs(platedSlab.withCount(2)) .circuit(10) .duration(50) .EUt(GTValues.VA[GTValues.ULV]) @@ -214,10 +210,8 @@ function generatePlatedBlockRecipe(event, material) { .EUt(GTValues.VA[GTValues.LV]) - event.recipes.create.item_application(platedStair, ['#tfg:brick_stairs', plateItem]) + event.shapeless(platedStair, ['#tfg:brick_stairs', plateItem, '#forge:tools/hammers']) .id(`tfg:item_application/${material.getName()}_plated_stair`) - event.recipes.createDeploying(platedStair, ['#tfg:brick_stairs', plateItem]) - .id(`tfg:deploying/${material.getName()}_plated_stair`) event.recipes.gtceu.assembler(`tfg:${material.getName()}_plated_stair`) .itemInputs('#tfg:brick_stairs', plateItem) .itemOutputs(platedStair)