Fix ore generation config bounds adjust turbine formation logic fix energy conversion config naming and Gas Generator generation rate miscalculation
@@ -68,9 +68,9 @@ public class WorldConfig extends BaseMekanismConfig {
//The max for perChunk and vein size are the values of the max number of blocks in a chunk.
//TODO: Improve upon it at some point so that the max vein size then gets determined by per chunk as well
this.perChunk = CachedIntValue.wrap(config, builder.comment("Chance that " + ore + " generates in a chunk.")
- .defineInRange("perChunk", perChunk, 1, 65536));
+ .defineInRange("perChunk", perChunk, 1, 512));
this.maxVeinSize = CachedIntValue.wrap(config, builder.comment("Maximum number of blocks in a vein of " + ore + ".")
- .defineInRange("maxVeinSize", maxVeinSize, 1, 65536));
+ .defineInRange("maxVeinSize", maxVeinSize, 1, 512));
//TODO: See if we can use world.getHeight() somehow
this.maxHeight = CachedIntValue.wrap(config, builder.comment("Base maximum height (exclusive) that veins of " + ore + " can spawn. Height is calculated by: random.nextInt(maxHeight - topOffset) + bottomOffset")
.defineInRange("maxHeight", maxHeight, 1, 256));
