progwml6 / Natura

Heyo, redwood trees! Chop them all day long~
Other
91 stars 84 forks source link

Disable Worldgen #158

Closed Slind14 closed 10 years ago

Slind14 commented 10 years ago

Hey,

is there any possibility to completely disable worldgen? When I set the rarity to 0 it does crash the server on worldgen...

progwml6 commented 10 years ago

Please post the log it will make it easier for me to fix it

On Aug 20, 2014, at 11:30 AM, Slind14 notifications@github.com wrote:

Hey,

is there any possibility to completely disable worldgen? When I set the rarity to 0 it does crash the server on worldgen...

— Reply to this email directly or view it on GitHub.

Slind14 commented 10 years ago

A I thought I was doing something wrong or it isn't supposed to be disabled. 1.6.4_2.1.14

Is there another way to disable it? (e.g. -1, via range..)

worldgen {
    I:"Amaranth Tree Spawn Rarity"=0
    I:"Ash Cloud Spawn Height"=40
    I:"Ash Cloud Spawn Range"=78
    I:"Ash Cloud Spawn Rarity"=0
    I:"Blackberry Spawn Range"=64
    I:"Blackberry Spawn Rarity"=0
    I:"Blightberry Spawn Range"=100
    I:"Blightberry Spawn Rarity"=0
    I:"Blood Tree Spawn Rarity"=0
    I:"Blueberry Spawn Range"=64
    I:"Blueberry Spawn Rarity"=0
    I:"Bush Tree Spawn Range"=20
    I:"Bush Tree Spawn Rarity"=0
    I:"Cloud Spawn Height"=192
    I:"Cloud Spawn Range"=48
    I:"Cloud Spawn Rarity"=0
    I:"Dark Cloud Spawn Density"=10
    I:"Dark Cloud Spawn MinX"=0
    I:"Dark Cloud Spawn Range"=256
    I:"Darkwood Tree Spawn Rarity"=0
    I:"Duskberry Spawn Range"=100
    I:"Duskberry Spawn Rarity"=0
    I:"Fusewood Tree Spawn Rarity"=0
    I:"Ghostwood Tree Spawn Rarity"=0
    I:"Maloberry Spawn Range"=64
    I:"Maloberry Spawn Rarity"=0
    I:"Maple Tree Spawn Rarity"=0
    I:"Raspberry Spawn Range"=64
    I:"Raspberry Spawn Rarity"=0
    I:"Redwood Tree Spawn Rarity"=0
    I:"Saguaro Cactus Spawn Rarity"=0
    I:"Sakura Tree Spawn Range"=32
    I:"Sakura Tree Spawn Rarity"=0
    I:"Silverbell Tree Spawn Rarity"=0
    I:"Skyberry Spawn Range"=100
    I:"Skyberry Spawn Rarity"=0
    I:"Small Eucalyptus Tree Spawn Range"=32
    I:"Small Eucalyptus Tree Spawn Rarity"=0
    I:"Stingberry Spawn Range"=100
    I:"Stingberry Spawn Rarity"=0
    I:"Sulfur Cloud Spawn Height"=40
    I:"Sulfur Cloud Spawn Range"=78
    I:"Sulfur Cloud Spawn Rarity"=0
    I:"Thornvines Spawn Rarity"=0
    I:"Tigerwood Tree Spawn Rarity"=0
    I:"Willow Tree Spawn Rarity"=0
}
java.lang.IllegalArgumentException: n must be positive
    at java.util.Random.nextInt(Random.java:300)
    at mods.natura.worldgen.BaseCloudWorldgen.generate(BaseCloudWorldgen.java:52)
    at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:133)
    at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:420)
    at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1342)
    at org.bukkit.craftbukkit.v1_6_R3.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:55)
    at org.bukkit.craftbukkit.v1_6_R3.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:15)
    at org.bukkit.craftbukkit.v1_6_R3.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:188)
    at org.bukkit.craftbukkit.v1_6_R3.util.AsynchronousExecutor.finishActive(AsynchronousExecutor.java:352)
    at org.bukkit.craftbukkit.v1_6_R3.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:30)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:832)
    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:330)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:777)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659)
    at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
progwml6 commented 10 years ago

there are several configs for disabling parts of worldgen. rarity does not change this.

also, 1.6.4 is not supported

Slind14 commented 10 years ago

@progwml6 which options do allow it? Sorry, but the config isn't self explaining to me.