BiomeTweaker

BiomeTweaker

13M Downloads

an issue with an unknown mod causing biometweeker to crash

meelock opened this issue ยท 20 comments

commented

the issue happens when i generate a world and the error in general is that its attempting to divide by 0
the error log is here: http://pastebin.com/GfGkKtUa

please help me.
Meelock

commented

Can I see the script you're running? If you're removing all biomes from generation, it's going to crash.

commented

Not all, but a lot like: taigas, and all the boring biomes. Here's the script:

DumbBiomes = forBiomes(156, 28, 155, 27, 26, 31, 158, 30, 194, 20, 131, 3, 162, 34, 132, 4, 18, 10, 11, 13, 140, 12, 193, 160, 33, 32, 1, 157, 29, 163, 164, 36, 35, 25, 129, 134, 6, 133, 5, 19, 192)
DumbBiomes.remove()
commented

I should say "all biomes of a certain type". Do you have a full log I can see. If you are removing all biomes of a type, BiomeTweaker will let you know in the log.

commented

here it is: https://www.dropbox.com/s/19zmmai1xp6bo0i/fml-client-latest.log?dl=0
sorry for the dropbox, it was to big to put in pastebin

commented

uggg, i just want a jungle planet!!

commented

wow k found it

[BiomeTweaker/BiomeTweaker]: Viable generation biomes for type ICY is empty! This will cause Vanilla generation to crash! You've been warned!
[18:47:08] [Client thread/WARN] [BiomeTweaker/BiomeTweaker]: Viable generation biomes for type WARM is empty! This will cause Vanilla generation to crash! You've been warned!
[18:47:08] [Client thread/WARN] [BiomeTweaker/BiomeTweaker]: Viable generation biomes for type COOL is empty! This will cause Vanilla generation to crash! You've been warned!

commented

You still can! There's a simple way around this. This script creates a desert world. It adds desert to all the generation types so everything else can be removed.

https://github.com/superckl/BiomeTweaker/wiki/Example-Scripts#creating-a-desert-world

commented

so i could just add jungles, and every thing else that it want: to all the heats?

commented

Yep. Keep in mind that some biomes are hard-coded. There is an issue about that:

#32

commented

ok testing it now!

commented

nope still crashes: heres the new code:

coolbiomes = forBiomes(16, 7, 0)
coolbiomes.addToGeneration("ICY", 2000)
coolbiomes.addToGeneration("COOL", 2000)
jungles = forbiomes(21)
jungles.addToGeneration("WARM", 2000)

plus all the previus stuff

commented

same crash

commented

oh wait sorry ill add the stuff from the previous guys crash

commented

k added jungles.registerGenBiomeRep(5)

commented

nope still crashes
let me remove galacticraft.

commented

this might mean something

[20:35:20] [Server thread/INFO] [STDOUT]: [micdoodle8.mods.miccore.MicdoodleTransformer:printLog:1862]: Galacticraft successfully injected bytecode into: ms (1 / 1)
[20:35:21] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Exception preparing structure feature

commented

I don't think BiomeTweaker can alter another mods generation. The mod itself would have to support it. Believe me I would know right well. ATG only affects the overworld. What you want is affecting another dimension solely controlled by another mod.

commented

If you're editing the moon, nothing will work, but I don't think that is the case here. I'll write a script soon that does what you want. I've been a bit busy lately.

commented

thanks!

if you want i can give you the Biometweeker folder?

here it is: https://www.dropbox.com/s/pcef6qd46ssj351/BiomeTweaker.zip?dl=0

commented

Sorry this took so long. I keep forgetting to do this. Here is the script I wrote to create a jungle planet:

#Remove all biomes from the BiomeManager so they don't appear in generation. BiomeTweaker will complain about this,
#but we are adding more later so it's fine.
allBiomes = forAllBiomes()
allBiomes.remove()

#Add jungle to the BiomeManager for all types so we don't crash.
jungle = forBiomes(21)
jungle.addToGeneration("WARM", 20000)
jungle.addToGeneration("COOL", 20000)
jungle.addToGeneration("DESERT", 20000)
jungle.addToGeneration("ICY", 20000)

#Replace any leftover hard-coded biomes with jungle.
allButJungle = subtractFrom(allBiomes, jungle)
allButJungle.set("height", 0.1)
allButJungle.set("heightVariation", 0.2)
allButJungle.registerGenBiomeRep(21)

2015-08-18_01 04 17