Config to only render routing lines while an INodeRenderer is held

Current INodeRenderer's are the Node Router and all Routing Nodes
This commit is contained in:
Nick 2016-02-29 23:20:57 -08:00
parent 507d41111d
commit 3f8cccf056
7 changed files with 111 additions and 80 deletions

View file

@ -132,8 +132,12 @@ public class ConfigHandler
public static boolean vanillaPotionHealthBoostEnabled;
public static boolean vanillaPotionAbsorptionEnabled;
// General
public static int sacrificialPackConversion;
// Client
public static boolean alwaysRenderRoutingLines;
// Compat
public static int wailaAltarDisplayMode;
public static boolean thaumcraftGogglesUpgrade;
@ -273,6 +277,10 @@ public class ConfigHandler
BloodMagicAPI.setLoggingEnabled(config.getBoolean("enableLogging", category, true, "Allows logging information to the console. Fatal errors will bypass this"));
sacrificialPackConversion = config.getInt("sacrificialPackConversion", category, 20, 0, 100, "Base multiplier for the Coat of Arms. DamageDealt * sacrificialPackConversion");
category = "Client";
config.addCustomCategoryComment(category, "Client only settings");
alwaysRenderRoutingLines = config.getBoolean("alwaysRenderRoutingLines", category, false, "Always renders the beams between routing nodes. If false, only renders while a Node Router is being held.");
category = "Compatibility";
config.addCustomCategoryComment(category, "Compatibility settings");
wailaAltarDisplayMode = config.getInt("wailaAltarDisplayMode", category + ".waila", 1, 0, 2, "The mode for the Waila display on Blood Altars.\n0 - Always display information\n1 - Only display when Divination/Seer sigil is in hand.\n2 - Only display when Divination/Seer sigil is in inventory");