From f02c40fc99e1fc4917a036ce0d8891348e936748 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Sat, 17 Jan 2026 11:54:53 +0000 Subject: [PATCH] disable electrolsis of clay this way instead --- kubejs/server_scripts/tfg/primitive/recipes.clay.js | 3 --- kubejs/startup_scripts/gtceu/material_modification.js | 10 +++++----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/kubejs/server_scripts/tfg/primitive/recipes.clay.js b/kubejs/server_scripts/tfg/primitive/recipes.clay.js index 9d6db8bbe..5ea2bf0fd 100644 --- a/kubejs/server_scripts/tfg/primitive/recipes.clay.js +++ b/kubejs/server_scripts/tfg/primitive/recipes.clay.js @@ -202,9 +202,6 @@ function registerTFGClayRecipes(event) { .EUt(2) // Renewable clay - - event.remove({ id: 'gtceu:electrolyzer/decomposition_electrolyzing_clay' }) - event.recipes.gtceu.rock_breaker("clay_duping") .notConsumable('minecraft:clay') .itemOutputs('minecraft:clay') diff --git a/kubejs/startup_scripts/gtceu/material_modification.js b/kubejs/startup_scripts/gtceu/material_modification.js index 9ac84ed1d..75885b8e7 100644 --- a/kubejs/startup_scripts/gtceu/material_modification.js +++ b/kubejs/startup_scripts/gtceu/material_modification.js @@ -48,7 +48,8 @@ const registerGTCEuMaterialModification = (event) => { GENERATE_FOIL, GENERATE_FINE_WIRE, NO_ORE_PROCESSING_TAB, - NO_ORE_SMELTING + NO_ORE_SMELTING, + DISABLE_DECOMPOSITION } = $MATERIAL_FLAGS const metalTooling = [ @@ -86,6 +87,9 @@ const registerGTCEuMaterialModification = (event) => { GTToolType.CROWBAR, ] + GTMaterials.Clay.addFlags(DISABLE_DECOMPOSITION); + GTMaterials.Brick.addFlags(DISABLE_DECOMPOSITION); + // TFC_PROPERTY = (forging temp, welding temp, melt temp, material, tier, percent of material) // OR = (forging temp, welding temp, melt temp, tier) @@ -451,10 +455,6 @@ const registerGTCEuMaterialModification = (event) => { lyeFluidProperty.getStorage().store($FluidStorageKeys.LIQUID, () => Fluid.of('tfc:lye').fluid, null); GTMaterials.SodiumHydroxide.setProperty(PropertyKey.FLUID, lyeFluidProperty); - //let bismuthFluidProperty = new $FLUID_PROPERTY(); - //bismuthFluidProperty.getStorage().enqueueRegistration($FluidStorageKeys.LIQUID, new $FluidBuilder()); - //GTMaterials.Bismuth.setProperty(PropertyKey.FLUID, bismuthFluidProperty); - // Components and formulas GTMaterials.CertusQuartz.setComponents('1x unknown', '1x silicon', '2x oxygen') GTMaterials.Glowstone.setComponents('1x gold', '1x redstone')