Added metoriteSpawnChance to configs.
This commit is contained in:
+3
-1
@@ -123,7 +123,8 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo
|
||||
public boolean updateable = false;
|
||||
final private File myPath;
|
||||
|
||||
public double metoriteClusterChance = 0.1f;
|
||||
public double metoriteClusterChance = 0.1;
|
||||
public double metoriteSpawnChance = 0.3;
|
||||
|
||||
@SubscribeEvent
|
||||
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent eventArgs)
|
||||
@@ -227,6 +228,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 );
|
||||
metoriteSpawnChance = get( "worldGen", "metoriteSpawnChance ", metoriteSpawnChance ).getDouble( metoriteSpawnChance );
|
||||
quartzOresPerCluster = get( "worldGen", "quartzOresPerCluster", quartzOresPerCluster ).getInt( quartzOresPerCluster );
|
||||
|
||||
minMeteoriteDistanceSq = minMeteoriteDistance * minMeteoriteDistance;
|
||||
|
||||
Reference in New Issue
Block a user