mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
run repo through formatter
This commit is contained in:
1 parent
5585d680a3
commit
ffaea7d4b7
140 files changed
+1050
-892
No files matched your search
@@ -15,7 +15,7 @@ public class DimensionBlacklist
|
||||
public static int promisedLandDimensionID = -100;
|
||||
public static int twilightForestDimensionID = -100;
|
||||
|
||||
public static void getBadBimensions()
|
||||
public static void getBadBimensions ()
|
||||
{
|
||||
updateModDimIDs();
|
||||
|
||||
@@ -61,13 +61,13 @@ public class DimensionBlacklist
|
||||
return noPoolDims.contains(dim);
|
||||
}
|
||||
|
||||
private static void updateModDimIDs()
|
||||
private static void updateModDimIDs ()
|
||||
{
|
||||
updateTwiForestID();
|
||||
updateBoPID();
|
||||
}
|
||||
|
||||
private static void updateTwiForestID()
|
||||
private static void updateTwiForestID ()
|
||||
{
|
||||
String location = Loader.instance().getConfigDir().getPath();
|
||||
File newFile = new File(location + File.separator + "TwilightForest.cfg");
|
||||
@@ -80,10 +80,11 @@ public class DimensionBlacklist
|
||||
twilightForestDimensionID = config.get("dimension", "dimensionID", -100).getInt();
|
||||
TConstruct.logger.trace("Twilight Forest Dim ID: " + twilightForestDimensionID);
|
||||
}
|
||||
else twilightForestDimensionID = -100;
|
||||
else
|
||||
twilightForestDimensionID = -100;
|
||||
}
|
||||
|
||||
private static void updateBoPID()
|
||||
private static void updateBoPID ()
|
||||
{
|
||||
String location = Loader.instance().getConfigDir().getPath();
|
||||
File newFile = new File(location + File.separator + "biomesoplenty" + File.separator + "ids.cfg");
|
||||
@@ -96,7 +97,8 @@ public class DimensionBlacklist
|
||||
promisedLandDimensionID = config.get("dimension settings", "Promised Land Dimension ID", -200).getInt();
|
||||
TConstruct.logger.trace("Promised Lands Dim ID: " + promisedLandDimensionID);
|
||||
}
|
||||
else promisedLandDimensionID = -100;
|
||||
else
|
||||
promisedLandDimensionID = -100;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -20,7 +20,7 @@ public class PHConstruct
|
||||
Configuration config = new Configuration(confFile);
|
||||
/* Load the configuration file */
|
||||
config.load();
|
||||
|
||||
|
||||
superfunWorld = config.get("Superfun", "All the world is Superfun", false).getBoolean(false);
|
||||
TRepo.supressMissingToolLogs = config.get("Logging", "Disable tool build messages", false).getBoolean(false);
|
||||
|
||||
@@ -47,7 +47,6 @@ public class PHConstruct
|
||||
denyMattock = config.get("Difficulty Changes", "Deny creation of non-metal mattocks", false).getBoolean(false);
|
||||
craftEndstone = config.get("Difficulty Changes", "Allow creation of endstone", true).getBoolean(true);
|
||||
|
||||
|
||||
ingotsPerOre = config.get("Smeltery Output Modification", "Ingots per ore", 2, "Number of ingots returned from smelting ores in the smeltery").getDouble(2);
|
||||
ingotsBronzeAlloy = config.get("Smeltery Output Modification", "Bronze ingot return", 4, "Number of ingots returned from smelting Bronze in the smeltery").getDouble(4);
|
||||
ingotsAluminumBrassAlloy = config.get("Smeltery Output Modification", "Aluminum Brass ingot return", 4, "Number of ingots returned from smelting Aluminum Brass in the smeltery").getDouble(4);
|
||||
|
||||
Reference in new issue
Block a user