From 8eb93b06991c499e9c253cf661754cdefcf59b36 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Mon, 30 Jun 2025 12:42:39 +0100 Subject: [PATCH] disable steam/combustible/gas generators on other dims? --- kubejs/server_scripts/tfg/recipes.space.js | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/kubejs/server_scripts/tfg/recipes.space.js b/kubejs/server_scripts/tfg/recipes.space.js index 97e669715..40631ccae 100644 --- a/kubejs/server_scripts/tfg/recipes.space.js +++ b/kubejs/server_scripts/tfg/recipes.space.js @@ -2,6 +2,32 @@ function registerTFGSpaceRecipes(event) { + // Change where you can do other recipes + + /*const allowedCombustibleDims = [ + { + dimension: "minecraft:the_nether", + type: "dimension" + }, + { + dimension: "minecraft:overworld", + type: "dimension" + } + ] + + event.findRecipes({ type: "gtceu:large_boiler" }).forEach(recipe => { + recipe.json.add("recipeConditions", allowedCombustibleDims) + }) + event.findRecipes({ type: "gtceu:steam_boiler" }).forEach(recipe => { + recipe.json.add("recipeConditions", allowedCombustibleDims) + }) + event.findRecipes({ type: "gtceu:combustion_generator" }).forEach(recipe => { + recipe.json.add("recipeConditions", allowedCombustibleDims) + }) + event.findRecipes({ type: "gtceu:gas_turbine" }).forEach(recipe => { + recipe.json.add("recipeConditions", allowedCombustibleDims) + })*/ + // Air collector event.recipes.gtceu.gas_collector('nether')