From 36ac060ae070d4cd03e2b001c2e618dbbbf625c2 Mon Sep 17 00:00:00 2001 From: lordIcocain Date: Mon, 14 Oct 2024 14:56:59 +0300 Subject: [PATCH 1/3] add recipe --- .../recipes/FluidSolidifierRecipes.java | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java b/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java index cd531b6f8..cd6bd631b 100644 --- a/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java +++ b/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java @@ -1,7 +1,7 @@ package com.dreammaster.gthandler.recipes; -import static gregtech.api.enums.Mods.ExtraUtilities; -import static gregtech.api.enums.Mods.TinkerConstruct; +import static gregtech.api.enums.Mods.*; +import static gregtech.api.enums.Mods.Avaritia; import static gregtech.api.recipe.RecipeMaps.fluidSolidifierRecipes; import static gregtech.api.util.GTRecipeBuilder.SECONDS; import static gregtech.api.util.GTRecipeBuilder.TICKS; @@ -27,8 +27,12 @@ public class FluidSolidifierRecipes implements Runnable { + ItemStack missing = new ItemStack(Blocks.fire); + @Override public void run() { + makeAvaritiaRecipes(); + // Sodium Dust GTValues.RA.stdBuilder().itemInputs(ItemList.Shape_Mold_Ball.get(0L)) @@ -431,4 +435,14 @@ public void run() { .eut(TierEU.RECIPE_UIV).itemOutputs(ItemList.Hawking_Glass.get(1)).addTo(fluidSolidifierRecipes); } } + + private void makeAvaritiaRecipes() { + if (!Avaritia.isModLoaded()) { + return; + } + GTValues.RA.stdBuilder().itemInputs(ItemList.Shape_Mold_Block.get(0L)) + .itemOutputs(Materials.CosmicNeutronium.getBlocks(1)) + .fluidInputs(Materials.CosmicNeutronium.getMolten(1296L)).duration(15 * SECONDS).eut(TierEU.RECIPE_ZPM) + .addTo(fluidSolidifierRecipes); + } } From 50916048306cc6f8d6dedb11ff5594bd73c5f40d Mon Sep 17 00:00:00 2001 From: lordIcocain Date: Mon, 14 Oct 2024 14:58:54 +0300 Subject: [PATCH 2/3] fix import --- .../dreammaster/gthandler/recipes/FluidSolidifierRecipes.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java b/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java index cd6bd631b..632d57cb8 100644 --- a/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java +++ b/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java @@ -1,7 +1,8 @@ package com.dreammaster.gthandler.recipes; -import static gregtech.api.enums.Mods.*; import static gregtech.api.enums.Mods.Avaritia; +import static gregtech.api.enums.Mods.ExtraUtilities; +import static gregtech.api.enums.Mods.TinkerConstruct; import static gregtech.api.recipe.RecipeMaps.fluidSolidifierRecipes; import static gregtech.api.util.GTRecipeBuilder.SECONDS; import static gregtech.api.util.GTRecipeBuilder.TICKS; From b9b58042a33238596e220211de0509a7ce46b97b Mon Sep 17 00:00:00 2001 From: lordIcocain Date: Sat, 19 Oct 2024 15:20:38 +0300 Subject: [PATCH 3/3] remove fire --- .../dreammaster/gthandler/recipes/FluidSolidifierRecipes.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java b/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java index 632d57cb8..9e2336312 100644 --- a/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java +++ b/src/main/java/com/dreammaster/gthandler/recipes/FluidSolidifierRecipes.java @@ -28,8 +28,6 @@ public class FluidSolidifierRecipes implements Runnable { - ItemStack missing = new ItemStack(Blocks.fire); - @Override public void run() { makeAvaritiaRecipes();