Content update

Very large and likely final content update for Tainted Magic.
This commit is contained in:
John Yorke committed 2019-12-18 15:58:29 -04:00
1 parent a6cdb42d64
commit 76e8451961
117 files changed
+1365 -1866

No files matched your search

@@ -1,7 +1,6 @@
package taintedmagic.common.handler;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;
import taintedmagic.common.TaintedMagic;
public class ConfigHandler
@@ -11,7 +10,8 @@ public class ConfigHandler
public static boolean useUpdateHandler = true;
public static boolean researchTags = true;
public static boolean useCustomResearchTabBackground = false;
public static double baseMaceDamageIncrease = 8.0D;
public static void init ()
{
TaintedMagic.log.info("Loading config");
@@ -21,6 +21,8 @@ public class ConfigHandler
useUpdateHandler = config.getBoolean("use_update_handler", "misc", true, "Should update notifications be enabled?");
researchTags = config.getBoolean("research_tags", "research", true, "Setting this to false will disable the '[TaintedMagic]' tag on the research");
useCustomResearchTabBackground = config.getBoolean("use_custom_research_tab_background", "research", false, "Setting this to true will enable the old custom tab background");
baseMaceDamageIncrease = (double) config
.getFloat("mage_mace_damage_increase_base", "misc", 8.0F, 1.0F, 100.0F, "Defines the base amount of damage to increase wand / staff attack damage by when the Mage's Mace focus is equipped.");
config.save();
}