Add Cluster Chance to Config, also lower it slightly.

This commit is contained in:
AlgorithmX2
2014-08-13 19:34:54 -05:00
parent b82857b68f
commit 8d9054e39a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -123,6 +123,8 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo
public boolean updateable = false;
final private File myPath;
public double metoriteClusterChance = 0.1f;
@SubscribeEvent
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent eventArgs)
{
@@ -224,6 +226,7 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo
spawnChargedChance = (float) (1.0 - get( "worldGen", "spawnChargedChance", 1.0 - spawnChargedChance ).getDouble( 1.0 - spawnChargedChance ));
minMeteoriteDistance = get( "worldGen", "minMeteoriteDistance", minMeteoriteDistance ).getInt( minMeteoriteDistance );
metoriteClusterChance = get( "worldGen", "metoriteClusterChance ", metoriteClusterChance ).getDouble( metoriteClusterChance );
quartzOresPerCluster = get( "worldGen", "quartzOresPerCluster", quartzOresPerCluster ).getInt( quartzOresPerCluster );
minMeteoriteDistanceSq = minMeteoriteDistance * minMeteoriteDistance;