mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +00:00
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:
1 parent
44afbcd654
commit
b5fd27013c
5 files changed
+81
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user