From 0e934cc51c33273a5a82623c4ae43496f8f50e7b Mon Sep 17 00:00:00 2001 From: Darren Eberly Date: Tue, 17 Sep 2024 23:54:07 -0400 Subject: [PATCH 1/2] Change GTNH integration module to use dreamcraft instead of gregtech --- .../storagedrawers/integration/GTNHIntegrationModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/jaquadro/minecraft/storagedrawers/integration/GTNHIntegrationModule.java b/src/main/java/com/jaquadro/minecraft/storagedrawers/integration/GTNHIntegrationModule.java index 7df7abf9e..7ec98f494 100644 --- a/src/main/java/com/jaquadro/minecraft/storagedrawers/integration/GTNHIntegrationModule.java +++ b/src/main/java/com/jaquadro/minecraft/storagedrawers/integration/GTNHIntegrationModule.java @@ -7,7 +7,7 @@ public class GTNHIntegrationModule extends IntegrationModule { - private static final boolean GTNHEnabled = (Loader.isModLoaded("gregtech") + private static final boolean GTNHEnabled = (Loader.isModLoaded("dreamcraft") && StorageDrawers.config.integrationConfig.isGTNHEnabled()); public static boolean isEnabled() { From fa3257948d4b7709dd76f56659262981a1fb3dd1 Mon Sep 17 00:00:00 2001 From: Darren Eberly Date: Tue, 17 Sep 2024 23:54:23 -0400 Subject: [PATCH 2/2] Re-enable default update template recipe --- .../minecraft/storagedrawers/core/ModRecipes.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java b/src/main/java/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java index 4dd8a06bc..9dcea3bf0 100644 --- a/src/main/java/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java +++ b/src/main/java/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java @@ -203,8 +203,16 @@ public void init() { 'w', "ingotGold")); - // GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.upgradeTemplate, 2), "xxx", "xyx", "xxx", - // 'x', "stickWood", 'y', "drawerBasic")); + GameRegistry.addRecipe( + new ShapedOreRecipe( + new ItemStack(ModItems.upgradeTemplate, 2), + "xxx", + "xyx", + "xxx", + 'x', + "stickWood", + 'y', + "drawerBasic")); if (config.cache.enableStorageUpgrades) { GameRegistry.addRecipe(