Add "Disable All Recipes" config option (#169)

Co-authored-by: Maya <[email protected]>
This commit is contained in:
__felix__andMaya authored and GitHub committed 2025-04-21 04:57:34 +00:00
1 parent f88eed9dfa
commit e43aa471d1
11 files changed
+141 -111

No files matched your search

@@ -18,6 +18,7 @@ import tconstruct.TConstruct;
import tconstruct.library.TConstructRegistry;
import tconstruct.smeltery.TinkerSmeltery;
import tconstruct.tools.TinkerTools;
import tconstruct.util.config.PHConstruct;
import tconstruct.world.TinkerWorld;
@ObjectHolder(TConstruct.modID)
@@ -95,15 +96,17 @@ public class TinkerTE4 {
0);
// Dust Recipes
GameRegistry.addRecipe(
new ShapelessOreRecipe(new ItemStack(TinkerTools.materials, 1, 41), "dustArdite", "dustCobalt"));
GameRegistry.addRecipe(
new ShapelessOreRecipe(
new ItemStack(TinkerTools.materials, 4, 42),
"dustAluminum",
"dustAluminum",
"dustAluminum",
"dustCopper"));
if (!PHConstruct.disableAllRecipes) {
GameRegistry.addRecipe(
new ShapelessOreRecipe(new ItemStack(TinkerTools.materials, 1, 41), "dustArdite", "dustCobalt"));
GameRegistry.addRecipe(
new ShapelessOreRecipe(
new ItemStack(TinkerTools.materials, 4, 42),
"dustAluminum",
"dustAluminum",
"dustAluminum",
"dustCopper"));
}
}
@Handler