add in parsing of TwilightForest config to get its dimension ID, addition of blacklist for slime island generation in ages, config option to add to that list.

This commit is contained in:
Progwml6 committed 2013-09-08 23:36:25 -04:00
1 parent 44afbcd654
commit b5fd27013c
5 files changed
+81 -4

No files matched your search

+6 -2
View File
@@ -33,7 +33,7 @@ public class PHConstruct
/* [Forge] Configuration class, used as config method */
Configuration config = new Configuration(newFile);
cfglocation = location;
/* Load the configuration file */
config.load();
@@ -355,7 +355,8 @@ public class PHConstruct
Property conTexMode = config.get("Looks", "Connected Textures Enabled", true);
conTexMode.comment = "0 = disabled, 1 = enabled, 2 = enabled + ignore stained glass meta";
connectedTexturesMode = conTexMode.getInt(2);
//dimension blacklist
cfgDimBlackList = config.get("DimBlackList", "SlimeIslandDimBlacklist", "").getIntList();
/* Save the configuration file */
config.save();
@@ -671,4 +672,7 @@ public class PHConstruct
//Looks
public static int connectedTexturesMode;
public static File cfglocation;
//dimensionblacklist
public static int[] cfgDimBlackList;
}