From dc37e35f3418c934b8002934391fcc47e73211f0 Mon Sep 17 00:00:00 2001 From: copygirl Date: Mon, 25 Jul 2022 08:51:35 +0200 Subject: [PATCH] Add phantom membrane recipe --- .../server_scripts/recipes/phantom_membrane.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 kubejs/server_scripts/recipes/phantom_membrane.js diff --git a/kubejs/server_scripts/recipes/phantom_membrane.js b/kubejs/server_scripts/recipes/phantom_membrane.js new file mode 100644 index 0000000..2a5c164 --- /dev/null +++ b/kubejs/server_scripts/recipes/phantom_membrane.js @@ -0,0 +1,17 @@ +// priority: 0 + +onEvent("recipes", event => { + event.custom({ + type: "tconstruct:casting_table", + cast: { tag: "forge:leather" }, cast_consumed: true, + fluid: { tag: "forge:ender", amount: 250 }, + result: "minecraft:phantom_membrane", + cooling_time: 100, + }); + // event.recipes.createMixing("minecraft:phantom_membrane", [ "#forge:leather", Fluid.of("#forge:ender", 250) ]).heated(); + event.recipes.createMixing("minecraft:phantom_membrane", [ "#forge:leather", Fluid.of("thermal:ender", 250) ]).heated(); + event.recipes.createMixing("minecraft:phantom_membrane", [ "#forge:leather", Fluid.of("tconstruct:molten_ender", 250) ]).heated(); + // event.recipes.thermal.bottler("minecraft:phantom_membrane", [ "#forge:leather", Fluid.of("#forge:ender", 250) ]); + event.recipes.thermal.bottler("minecraft:phantom_membrane", [ "#forge:leather", Fluid.of("thermal:ender", 250) ]); + event.recipes.thermal.bottler("minecraft:phantom_membrane", [ "#forge:leather", Fluid.of("tconstruct:molten_ender", 250) ]); +});