Make config fields start lowercase

This commit is contained in:
mezz committed 2015-01-13 23:55:30 -08:00
1 parent f645076eeb
commit e9c91cda37
18 files changed
+86 -88

No files matched your search

@@ -7,7 +7,6 @@ import cpw.mods.fml.common.IWorldGenerator;
import cpw.mods.fml.common.Mod;
import magicbees.main.Config;
import magicbees.main.MagicBees;
import magicbees.main.utils.ChunkCoords;
import magicbees.world.feature.FeatureHive;
import net.minecraft.nbt.NBTTagCompound;
@@ -34,7 +33,7 @@ public class WorldGeneratorHandler implements IWorldGenerator
public void chunkSaveEventHandler(ChunkDataEvent.Save event)
{
NBTTagCompound tag = new NBTTagCompound();
if (Config.DoHiveRetrogen)
if (Config.doHiveRetrogen)
{
tag.setBoolean("hiveRetrogen", true);
}
@@ -52,9 +51,9 @@ public class WorldGeneratorHandler implements IWorldGenerator
{
doRetrogen = true;
}
else if (Config.DoHiveRetrogen)
else if (Config.doHiveRetrogen)
{
if (!tag.hasKey("hiveRetrogen") || Config.ForceHiveRegen)
if (!tag.hasKey("hiveRetrogen") || Config.forceHiveRegen)
{
doRetrogen = true;
}
@@ -79,7 +78,7 @@ public class WorldGeneratorHandler implements IWorldGenerator
if (world.provider.terrainType != WorldType.FLAT)
{
if (initialGen || Config.DoHiveRetrogen)
if (initialGen || Config.doHiveRetrogen)
{
FeatureHive.generateHives(world, random, chunkX, chunkZ, initialGen);
modified = true;
@@ -4,7 +4,6 @@ import java.util.Random;
import magicbees.block.types.HiveType;
import magicbees.main.Config;
import magicbees.main.MagicBees;
import magicbees.main.utils.LogHelper;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
@@ -18,7 +17,7 @@ public class FeatureHive
private static FeatureOreVein glowstoneGen;
private static FeatureOreVein endStoneGen;
private static boolean logSpawns = Config.LogHiveSpawns;
private static boolean logSpawns = Config.logHiveSpawns;
public static void initialize()
{
@@ -161,7 +160,7 @@ public class FeatureHive
netherQuartzGen.generateVein(world, random, coordX, coordY, coordZ - 1, 4);
}
}
else if (Config.DoSpecialHiveGen && world.rand.nextInt() < 11)
else if (Config.doSpecialHiveGen && world.rand.nextInt() < 11)
{
int coordY = random.nextInt(13) + 5;
@@ -230,7 +229,7 @@ public class FeatureHive
}
}
}
else if (Config.DoSpecialHiveGen && world.rand.nextInt() < 8)
else if (Config.doSpecialHiveGen && world.rand.nextInt() < 8)
{
// 1 per gen
int coordY = random.nextInt(5) + 5;