Biome Decoration Fix

Biome Decoration Fix

4k Downloads

About

This mod fixes the "java.lang.RuntimeException: Already decorating!!" crash commonly occurring with a lot of heavy worldgen mods installed.

What this issue essentially comes down to is there is one instance of a biome decorator and multiple mods trying to use it at the same time: one mod has started decorating, hasn't yet finished, and another mod attempts to decorate the biome again but this time it's already occupied, so it's failing and the game crashes. This issue isn't specific to one mod but from what I can tell can happen on any modpack with worldgen mods (I've had this crash pop up a few times with wild caves, biomes o plenty, highlands and a few other mods).

What this mod does to fix the crash, is in response to the previous issue, changes minecraft code so that instead of crashing the game, it would postpone the decoration and generate all the needed features when the decorator is no longer in use, therefore avoiding the crash. It's essentially giving each decorator the appropriate time needed before moving onto the next, which is what forge should have ideally done in the first place.

F.A.Q

Q: When port to version x.x.x?

A: I'm not sure if this issue occurs on newer versions, but if it does and you want to do it, go ahead - you'll probably end up rewriting the mod from scratch as the worldgen changes between the versions are huge.

Q: Modpacks?

A: Of course! No need to ask.

Q: There is a crash! / This mod doesn't work with X! / I found a bug!

A: You can always report it on the issue tracker and I'll try and take a look.

Discord: Click!