update mantle, autogenerate the configs for pulsar modules

This commit is contained in:
progwml6 committed 2014-07-02 21:10:56 -04:00
1 parent 7ecd97ad8f
commit a5d7260c1f
6 files changed
+8 -38

No files matched your search

+3 -9
View File
@@ -3,6 +3,7 @@ package tconstruct;
import java.util.Random;
import mantle.lib.TabTools;
import mantle.pulsar.config.ForgeCFG;
import mantle.pulsar.control.PulseManager;
import mantle.pulsar.pulse.IPulse;
import net.minecraft.world.gen.structure.MapGenStructureIO;
@@ -80,7 +81,7 @@ public class TConstruct
public static TProxyCommon proxy;
/* Loads modules in a way that doesn't clutter the @Mod list */
private PulseManager pulsar = new PulseManager(modID);
private PulseManager pulsar = new PulseManager(modID, new ForgeCFG("TinkersModules", "Modules: Disabling these will disable a chunk of the mod"));
public TConstruct()
{
@@ -102,19 +103,12 @@ public class TConstruct
{
PHConstruct.initProps(event.getModConfigurationDirectory());
if (PHConstruct.worldModule)
pulsar.registerPulse(new TinkerWorld());
if (PHConstruct.toolModule)
pulsar.registerPulse(new TinkerTools());
if (PHConstruct.smelteryModule)
pulsar.registerPulse(new TinkerSmeltery());
if (PHConstruct.mechworksModule)
pulsar.registerPulse(new TinkerMechworks());
if (PHConstruct.armorModule)
pulsar.registerPulse(new TinkerArmor());
/*if (PHConstruct.prayerModule)
pulsar.registerPulse(new TinkerPrayers());
if (PHConstruct.cropifyModule)
/*pulsar.registerPulse(new TinkerPrayers());
pulsar.registerPulse(new TinkerCropify());*/
TConstructRegistry.materialTab = new TabTools("TConstructMaterials");