Move stuff around a bit- also tie range and enabled to options.

This commit is contained in:
Christian committed 2013-09-13 22:11:59 -05:00
1 parent 32353f0db1
commit 492cbc3628
3 files changed
+112 -79

No files matched your search

@@ -51,6 +51,8 @@ public class ForgeDummyContainer extends DummyModContainer implements WorldAcces
public static boolean disableStitchedFileSaving = false;
public static boolean forceDuplicateFluidBlockCrash = true;
public static boolean fullBoundingBoxLadders = false;
public static int[] blendRanges = { 20, 15, 10, 5 };
public ForgeDummyContainer()
{
@@ -139,6 +141,10 @@ public class ForgeDummyContainer extends DummyModContainer implements WorldAcces
FMLLog.warning("Disabling forced crashes on duplicate Fluid Blocks - USE AT YOUR OWN RISK");
}
prop = config.get(Configuration.CATEGORY_GENERAL, "biomeSkyBlendRange", new int[] { 20, 15, 10, 5 });
prop.comment = "Control the range of sky blending for colored skies in biomes.";
blendRanges = prop.getIntList();
if (config.hasChanged())
{
config.save();