From de90eef134807659679548d40b86fa08477d5c47 Mon Sep 17 00:00:00 2001 From: chochem <40274384+chochem@users.noreply.github.com> Date: Wed, 25 Dec 2024 00:21:03 +0100 Subject: [PATCH 1/6] fix electric scanner recipes (#1122) --- src/main/java/com/dreammaster/detrav/ScannerTools.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/dreammaster/detrav/ScannerTools.java b/src/main/java/com/dreammaster/detrav/ScannerTools.java index 5d31c8a8f..40a99500f 100644 --- a/src/main/java/com/dreammaster/detrav/ScannerTools.java +++ b/src/main/java/com/dreammaster/detrav/ScannerTools.java @@ -12,7 +12,9 @@ public class ScannerTools implements IOreRecipeRegistrator { - public ScannerTools() {} + public ScannerTools() { + OrePrefixes.toolHeadDrill.add(this); + } public void registerOre(OrePrefixes o, Materials material, String s, String s2, ItemStack i) { GTModHandler.addCraftingRecipe( From ec1059d175757570012fe4f3e5acabc3ad75a6ba Mon Sep 17 00:00:00 2001 From: Martin Robertz Date: Wed, 25 Dec 2024 00:42:12 +0100 Subject: [PATCH 2/6] update --- dependencies.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies.gradle b/dependencies.gradle index 171fb5728..fc8d07c52 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,7 +1,7 @@ // Add your dependencies here dependencies { - api("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.27:dev") + api("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.29:dev") api("com.github.GTNewHorizons:Yamcl:0.6.0:dev") api("com.github.GTNewHorizons:Baubles:1.0.4:dev") From 6d3f2ee69d62d6ea4ea459cb6d7508dd71c3d81a Mon Sep 17 00:00:00 2001 From: chochem <40274384+chochem@users.noreply.github.com> Date: Thu, 26 Dec 2024 00:33:46 +0100 Subject: [PATCH 3/6] fix all the rocket controller recipes (#1123) --- .../com/dreammaster/scripts/ScriptGalaxySpace.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/dreammaster/scripts/ScriptGalaxySpace.java b/src/main/java/com/dreammaster/scripts/ScriptGalaxySpace.java index a7afd7df1..18dea9054 100644 --- a/src/main/java/com/dreammaster/scripts/ScriptGalaxySpace.java +++ b/src/main/java/com/dreammaster/scripts/ScriptGalaxySpace.java @@ -190,7 +190,7 @@ public void loadRecipes() { CustomItemList.Display.get(1), ItemList.Emitter_IV.get(1), ItemList.Sensor_IV.get(1), - getGSItem("item.HeavyDutyPlateTier4", 1, 0)) + CustomItemList.HeavyDutyPlateTier4.get(1)) .itemOutputs(getGSItem("item.RocketControlComputer", 1, 4)) .fluidInputs(Materials.SolderingAlloy.getMolten(1728)).requiresCleanRoom().duration(30 * SECONDS) .eut(TierEU.RECIPE_IV).addTo(assemblerRecipes); @@ -201,7 +201,7 @@ public void loadRecipes() { CustomItemList.Display.get(1), ItemList.Emitter_LuV.get(1), ItemList.Sensor_LuV.get(1), - getGSItem("item.HeavyDutyPlateTier5", 1, 0)) + CustomItemList.HeavyDutyPlateTier5.get(1)) .itemOutputs(getGSItem("item.RocketControlComputer", 1, 5)) .fluidInputs(Materials.SolderingAlloy.getMolten(2304)).requiresCleanRoom().duration(30 * SECONDS) .eut(TierEU.RECIPE_LuV).addTo(assemblerRecipes); @@ -212,7 +212,7 @@ public void loadRecipes() { CustomItemList.Display.get(1), ItemList.Emitter_ZPM.get(1), ItemList.Sensor_ZPM.get(1), - getGSItem("item.HeavyDutyPlateTier6", 1, 0)) + CustomItemList.HeavyDutyPlateTier6.get(1)) .itemOutputs(getGSItem("item.RocketControlComputer", 1, 6)) .fluidInputs(Materials.SolderingAlloy.getMolten(3456)).requiresCleanRoom().duration(30 * SECONDS) .eut(TierEU.RECIPE_ZPM).addTo(assemblerRecipes); @@ -223,7 +223,7 @@ public void loadRecipes() { CustomItemList.Display.get(1), ItemList.Emitter_UV.get(1), ItemList.Sensor_UV.get(1), - getGSItem("item.HeavyDutyPlateTier7", 1, 0)) + CustomItemList.HeavyDutyPlateTier7.get(1)) .itemOutputs(getGSItem("item.RocketControlComputer", 1, 7)) .fluidInputs(Materials.SolderingAlloy.getMolten(4608)).requiresCleanRoom().duration(30 * SECONDS) .eut(TierEU.RECIPE_UV).addTo(assemblerRecipes); @@ -234,7 +234,7 @@ public void loadRecipes() { CustomItemList.Display.get(1), ItemList.Emitter_UV.get(1), ItemList.Sensor_UV.get(1), - getGSItem("item.HeavyDutyPlateTier8", 1, 0)) + CustomItemList.HeavyDutyPlateTier8.get(1)) .itemOutputs(getGSItem("item.RocketControlComputer", 1, 8)) .fluidInputs(Materials.SolderingAlloy.getMolten(6912)).requiresCleanRoom().duration(30 * SECONDS) .eut(TierEU.RECIPE_UV).addTo(assemblerRecipes); From ed0f9ea3045d56a7a6296f79dd4217c1e9c1e6fb Mon Sep 17 00:00:00 2001 From: chochem <40274384+chochem@users.noreply.github.com> Date: Thu, 26 Dec 2024 02:44:19 +0100 Subject: [PATCH 4/6] Project red tinker fix (#1124) --- .../java/com/dreammaster/scripts/ScriptProjectRed.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/com/dreammaster/scripts/ScriptProjectRed.java b/src/main/java/com/dreammaster/scripts/ScriptProjectRed.java index 32b8582cf..32cd7a353 100644 --- a/src/main/java/com/dreammaster/scripts/ScriptProjectRed.java +++ b/src/main/java/com/dreammaster/scripts/ScriptProjectRed.java @@ -52,7 +52,6 @@ import net.minecraftforge.oredict.OreDictionary; import com.dreammaster.chisel.ChiselHelper; -import com.dreammaster.tinkersConstruct.TConstructHelper; import fox.spiteful.avaritia.crafting.ExtremeCraftingManager; import gregtech.api.GregTechAPI; @@ -65,7 +64,6 @@ import gregtech.api.util.GTOreDictUnificator; import gregtech.api.util.GTUtility; import gtPlusPlus.core.material.MaterialsAlloy; -import tconstruct.library.crafting.Smeltery; public class ScriptProjectRed implements IScriptLoader { @@ -160,11 +158,6 @@ public void loadRecipes() { ChiselHelper.addGroup("ruby"); ChiselHelper.addGroup("sapphire"); ChiselHelper.addGroup("peridot"); - TConstructHelper.removeSmelterAlloyMix(FluidRegistry.getFluidStack("redmetal.molten", 144)); - Smeltery.addAlloyMixing( - FluidRegistry.getFluidStack("redmetal.molten", 144), - FluidRegistry.getFluidStack("redstone.molten", 576), - FluidRegistry.getFluidStack("copper.molten", 144)); ChiselHelper.addVariationFromStack("ruby", getModItem(BiomesOPlenty.ID, "gemOre", 1, 3, missing)); ChiselHelper.addVariationFromStack("ruby", new ItemStack(GregTechAPI.sBlockGem2, 1, 11)); ChiselHelper.addVariationFromStack( From dc0f5068a2853b405614e6926ebeb930cb840812 Mon Sep 17 00:00:00 2001 From: Martin Robertz Date: Thu, 26 Dec 2024 22:05:48 +0100 Subject: [PATCH 5/6] remove vanilla stone tools (#1126) --- src/main/java/com/dreammaster/recipes/RecipeRemover.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/dreammaster/recipes/RecipeRemover.java b/src/main/java/com/dreammaster/recipes/RecipeRemover.java index 77b7e169d..c35c4f9c2 100644 --- a/src/main/java/com/dreammaster/recipes/RecipeRemover.java +++ b/src/main/java/com/dreammaster/recipes/RecipeRemover.java @@ -1774,6 +1774,11 @@ public static void run() { removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "brewing_stand", 1, 0, missing)); removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "clock", 1, 0, missing)); removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "compass", 1, 0, missing)); + removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "stone_sword", 1, 0, missing)); + removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "stone_shovel", 1, 0, missing)); + removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "stone_pickaxe", 1, 0, missing)); + removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "stone_axe", 1, 0, missing)); + removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "stone_hoe", 1, 0, missing)); removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "diamond_sword", 1, 0, missing)); removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "diamond_shovel", 1, 0, missing)); removeRecipeByOutputDelayed(getModItem(Minecraft.ID, "diamond_pickaxe", 1, 0, missing)); From 5caa1619beb4b4e0d20b354b901d1087341c10ec Mon Sep 17 00:00:00 2001 From: Eldrinn-Elantey <46845681+Eldrinn-Elantey@users.noreply.github.com> Date: Fri, 27 Dec 2024 00:18:20 +0300 Subject: [PATCH 6/6] Color upgrade recipe change (#1125) Co-authored-by: Martin Robertz --- .../java/com/dreammaster/scripts/ScriptNuclearControl.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/dreammaster/scripts/ScriptNuclearControl.java b/src/main/java/com/dreammaster/scripts/ScriptNuclearControl.java index aa98058d5..6c03a88eb 100644 --- a/src/main/java/com/dreammaster/scripts/ScriptNuclearControl.java +++ b/src/main/java/com/dreammaster/scripts/ScriptNuclearControl.java @@ -13,7 +13,6 @@ import java.util.List; import net.minecraft.init.Blocks; -import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import com.dreammaster.gthandler.CustomItemList; @@ -304,9 +303,9 @@ public void loadRecipes() { GTValues.RA.stdBuilder() // Color upgrade .itemInputs( - new ItemStack(Items.dye, 1, 1), - new ItemStack(Items.dye, 1, 2), - new ItemStack(Items.dye, 1, 4), + ItemList.Color_01.get(1L), + ItemList.Color_02.get(1L), + ItemList.Color_04.get(1L), GTOreDictUnificator.get(OrePrefixes.circuit, Materials.HV, 1L)) .itemOutputs(getModItem(IC2NuclearControl.ID, "ItemUpgrade", 1, 1, missing)).duration(20 * SECONDS) .eut(TierEU.RECIPE_HV).addTo(assemblerRecipes);