mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-18 11:19:18 +00:00
Register late recipes behind config options
This commit is contained in:
1 parent
52c49fdbee
commit
fe69d3b2dc
4 files changed
+18
-8
No files matched your search
@@ -25,7 +25,7 @@ public class ModuleRegistry {
|
||||
if (ConfigHandler.enableIC2Module) {
|
||||
IC2BlockRegistry.registerBlocks();
|
||||
IC2ItemRegistry.registerItems();
|
||||
ElectroMagicTools.logger.info(localize("console.EMT.init.recipes.ic2"));
|
||||
ElectroMagicTools.logger.info(localize("console.EMT.init.recipes"));
|
||||
IC2RecipeRegistry.registerEarlyRecipes();
|
||||
}
|
||||
|
||||
@@ -35,4 +35,18 @@ public class ModuleRegistry {
|
||||
TERecipeRegistry.registerTERecipes();
|
||||
}
|
||||
}
|
||||
|
||||
public static void registerLateModules() {
|
||||
|
||||
if (ConfigHandler.enableIC2Module) {
|
||||
ElectroMagicTools.logger.info(localize("console.EMT.postInit.recipes"));
|
||||
IC2RecipeRegistry.registerLateRecipes();
|
||||
ElectroMagicTools.logger.info(localize("console.EMT.postInit.recipes.uumatter"));
|
||||
IC2RecipeRegistry.registerUUMInfusionRecipes();
|
||||
}
|
||||
|
||||
if (ConfigHandler.enableTEModule) {
|
||||
// do stuff
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user