Request Biome conflicts

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
One potential problem, if there's no obvious conflicts, is that the game considers biome IDs that differ by exactly 128, if I remember correctly (or some power of 2), to be different versions of the same biome. For instance (and I'm totally making this example up off the top of my head), if the vanilla Desert biome ID is 5, then the DesertHills biome ID might be 5 + 128 = 133. This tells Minecraft to replace some areas of Desert biome with DesertHills.

This becomes a problem when an Overworld biome (Plains, say) has an ID exactly 128 less than a biome intended to only spawn in a different dimension (such as Twilight Forest Thornlands). This can cause exactly the symptoms you're describing: other dimensions' bomes spawn in the Overworld, with effects ranging from fireflies in your base to large swathes of giant impenetrable thorn brambles.

The simplest solution is to ensure that all of your mod-added biomes are given IDs less than 128. However, between Vanilla and all your biome-adding mods, it's entirely possible that you could have more than 128 biomes to assign IDs to. If that's the case, you'll have to disable some or painstakingly go through and make sure that all of the >=128 IDs line up with <128 biomes from the same mod. Ideally similar-looking biomes from the same mod.
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
Well right now I have several biomes that are wanting to use the exact same biome id.
Then that's a problem. You'll have to go through your config files and give them all unique IDs, keeping in mind the ±128 thing. I believe that the available IDs range from 0 to 255; the ones used by Vanilla can be found here. Yes, it's painful and annoying and there really should be some way to automate it or at least tell you if there's an overlap, but there's really no other way to do it. And then you might have to regenerate your world, or at least use something like MCEdit to delete and regenerate the chunks with the wrong dimensions' biomes.

One of the things I like about Reika's mods: He explicitly crashes the game on loading if anyone tries to use one of his biome, enchantment, or potion ID. I'm not sure if he checks for conflicts between other mods as well, but you could try installing DragonAPI to check. Just don't load up any worlds if you intend to remove Reika's mods later; that can cause (fixable) problems of its own.
 
  • Like
Reactions: Reika

Vagaprime

New Member
Jul 29, 2019
129
0
0
I think I got it sorted out. Looks like one of MP reset its config file when I updated, which in turn reset it to the default Biome id's. I switched the IDs back to what I was using last time. Now to load up the game and recreate the world and see if the problem is still there.
 

Reika

RotaryCraft Dev
FTB Mod Dev
Sep 3, 2013
5,079
5,331
550
Toronto, Canada
sites.google.com
Then that's a problem. You'll have to go through your config files and give them all unique IDs, keeping in mind the ±128 thing. I believe that the available IDs range from 0 to 255; the ones used by Vanilla can be found here. Yes, it's painful and annoying and there really should be some way to automate it or at least tell you if there's an overlap, but there's really no other way to do it. And then you might have to regenerate your world, or at least use something like MCEdit to delete and regenerate the chunks with the wrong dimensions' biomes.

One of the things I like about Reika's mods: He explicitly crashes the game on loading if anyone tries to use one of his biome, enchantment, or potion ID. I'm not sure if he checks for conflicts between other mods as well, but you could try installing DragonAPI to check. Just don't load up any worlds if you intend to remove Reika's mods later; that can cause (fixable) problems of its own.
I cannot realistically check for ID conflicts not involving one of my mods, nor could I account for "overwrite is acceptable" cases that some mods have.

Also, I do not currently check the ID +/- 128 issue. Should I?
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
I cannot realistically check for ID conflicts not involving one of my mods, nor could I account for "overwrite is acceptable" cases that some mods have.

Also, I do not currently check the ID +/- 128 issue. Should I?
Good to know. And it might be worthwhile to add the ±128 check it if's not too much trouble. As I recall, your mods don't add very many biomes, so it's unlikely that anyone would need to put something in the "Rainbow Forest variation" slot.