Alright, I hopefully implemented #3 correctly, here is a new version:
0.4:
decreased minimum possible spawn and spread rates to 0 percent;
fixed entities being spawned in same space;
added options for increasing mob spawn and earth spread rates over time;
https://drive.google.com/open?id=11zZlSoLwpkGVaMBGXmBN430Li4j5DMf5
Got a crash
Description: Exception ticking world
java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Unknown Source)
at alexiy.polluted.earth.BlockPollutedEarth.updateTick(BlockPollutedEarth.java:44)
at net.minecraft.block.Block.randomTick(Block.java:508)
at net.minecraft.world.WorldServer.updateBlocks(WorldServer.java:476)
at net.minecraft.world.WorldServer.tick(WorldServer.java:225)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:756)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Unknown Source)
and I set the config to:
# Configuration file
general {
# Base percentage (per random tick)
# Min: 0
# Max: 100
I:blockSpreadChance=0
# Base percentage (per random tick)
# Min: 0
# Max: 100
I:entitySpawnChance=0
# Full registry names
S:replaceableBlocks <
minecraft:grass
minecraft:dirt
minecraft:dirt:1
minecraft:farmland
minecraft:sand
minecraft:gravel
dynamictrees:rootydirt
dynamictrees:rootydirt:1
dynamictrees:rootydirt:2
dynamictrees:rootydirt:3
dynamictrees:rootydirt:4
dynamictrees:rootydirt:5
dynamictrees:rootydirt:6
dynamictrees:rootydirt:7
dynamictrees:rootydirt:8
dynamictrees:rootydirt:9
dynamictrees:rootydirt:10
dynamictrees:rootydirt:11
dynamictrees:rootydirt:12
dynamictrees:rootydirt:13
dynamictrees:rootydirt:14
dynamictrees:rootydirt:15
>
# Earth block spawn chance per chunk
# Min: 0
# Max: 100
I:spawnChance=0
# Full registry names
S:spawnableEntities <
techguns:alienbug
techguns:alienbug
techguns:alienbug
techguns:alienbug
techguns:alienbug
minecraft:husk
minecraft:husk
minecraft:husk
minecraft:silverfish
minecraft:wither_skeleton
minecraft:enderman
>
earthsettings {
# Min: 1
# Max: 2147483647
I:"Earth spread chance increases every so many days:"=10
# Min: 0
# Max: 100
I:"Maximum chance of earth spread"=10
}
mobsettings {
# Min: 0
# Max: 100
I:"Maximum chance of mob spawn"=10
# Min: 1
# Max: 2147483647
I:"Mob spawn chance increases every so many days:"=5
}
}
I placed one block then headed off to explore the local area, to confirm that there was no spawning or spreading, then the crash occurred.