From e9ccab3f6e565b1cd5f9d9ba8a06159677f7e7be Mon Sep 17 00:00:00 2001 From: SpeeeDCraft <52341158+SpeeeDCraft@users.noreply.github.com> Date: Wed, 15 Nov 2023 22:18:13 +0700 Subject: [PATCH] finish casting --- .../data/tfc/recipes/heating/brass_bell.json | 12 +++++++ kubejs/server_scripts/tfc/recipes.js | 36 +++++++++++++++---- 2 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 kubejs/data/tfc/recipes/heating/brass_bell.json diff --git a/kubejs/data/tfc/recipes/heating/brass_bell.json b/kubejs/data/tfc/recipes/heating/brass_bell.json new file mode 100644 index 000000000..43d9dfc96 --- /dev/null +++ b/kubejs/data/tfc/recipes/heating/brass_bell.json @@ -0,0 +1,12 @@ +{ + "__comment__": "This file was automatically created by mcresources", + "type": "tfc:heating", + "ingredient": { + "item": "tfc:brass_bell" + }, + "result_fluid": { + "fluid": "gtceu:brass", + "amount": 144 + }, + "temperature": 930 +} \ No newline at end of file diff --git a/kubejs/server_scripts/tfc/recipes.js b/kubejs/server_scripts/tfc/recipes.js index 81f9aed4f..222d72e7b 100644 --- a/kubejs/server_scripts/tfc/recipes.js +++ b/kubejs/server_scripts/tfc/recipes.js @@ -7,9 +7,6 @@ const registerTFCRecipes = (event) => { event.remove({ id: /tfc:heating\/metal.*/ }) event.remove({ id: /tfc:heating\/ore.*/ }) - registerAutoTFCHeatingRecipes(event) - registerAutoTFCCastingRecipes(event) - event.remove({ id: 'tfc:crafting/vanilla/lapis_block' }) event.remove({ id: 'tfc:quern/amethyst' }) @@ -44,6 +41,36 @@ const registerTFCRecipes = (event) => { event.remove({ id: 'tfc:quern/small_garnierite' }) event.remove({ id: 'tfc:quern/small_sphalerite' }) + registerAutoTFCHeatingRecipes(event) + registerAutoTFCCastingRecipes(event) + + // Gold Bell + addCastingRecipe(event, + 'tfc:recipes/casting/tfg/gold_bell', + { item: "tfc:ceramic/bell_mold"}, + { ingredient: "gtceu:gold", amount: 144 }, + { item: "minecraft:bell" }, + 1 + ) + + // Brass Bell + addCastingRecipe(event, + 'tfc:recipes/casting/tfg/brass_bell', + { item: "tfc:ceramic/bell_mold"}, + { ingredient: "gtceu:brass", amount: 144 }, + { item: "tfc:brass_bell" }, + 1 + ) + + // Bronze Bell + addCastingRecipe(event, + 'tfc:recipes/casting/tfg/bronze_bell', + { item: "tfc:ceramic/bell_mold"}, + { ingredient: "gtceu:bronze", amount: 144 }, + { item: "tfc:bronze_bell" }, + 1 + ) + // Fire Charge event.remove({ id: 'tfc:crafting/vanilla/fire_charge' }) event.shapeless('3x minecraft:fire_charge', [ @@ -423,7 +450,6 @@ const registerAutoTFCCastingRecipes = (event) => { let recipeId2 = `tfc:recipes/casting_tfg/fire_${propertyName}_${tfcMetalName}` - console.log(shit) addCastingRecipe(event, recipeId2, { item: `tfc:ceramic/fire_${propertyName}_mold` }, @@ -433,8 +459,6 @@ const registerAutoTFCCastingRecipes = (event) => { ) } } - - } }) }