Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have a problem #19

Open
HealerPlusX opened this issue Nov 25, 2024 · 2 comments
Open

I have a problem #19

HealerPlusX opened this issue Nov 25, 2024 · 2 comments

Comments

@HealerPlusX
Copy link

HealerPlusX commented Nov 25, 2024

Game Crash by Biomes
I faced this problem a lot,
I didn't find a solution
I think the problem is related to the ### mod's lands conflicting with Minecraft's lands themselves

Caused by: java.lang.IllegalStateException: Feature order cycle found, involved sources: [Reference{ResourceKey[minecraft:worldgen/biome / minecraft:jungle]=net.minecraft.world.biome.Biome@31e5514}, Reference{ResourceKey[ minecraft:worldgen/biome/ betterbiomes:sakura_grove]=net.minecraft.world.biome.Biome@51a06f45}]

I had this problem with the Terrablender library
before, so I deleted it and used the Biolith library
Now I faced the same problem
Is the error from the following code:

public static void addOverworldLand() {

    MultiNoiseUtil.NoiseHypercube noisePoint = new MultiNoiseUtil.NoiseHypercube(
            MultiNoiseUtil.ParameterRange.of(-0.2F, 0.4F),
            MultiNoiseUtil.ParameterRange.of(0.1F, 0.6F), 
            MultiNoiseUtil.ParameterRange.of(-0.3F, 0.3F), 
            MultiNoiseUtil.ParameterRange.of(-0.1F, 0.2F),
            MultiNoiseUtil.ParameterRange.of(-0.5F, 0.5F), 
            MultiNoiseUtil.ParameterRange.of(0.0F, 0.9F), 
    );

    BiomeCoordinator.OVERWORLD.addPlacement(ModBiomes.SAKURA_GROVE, noisePoint, false);



}

}

I hope for help and solution

@gniftygnome
Copy link
Contributor

This is not an issue with either TerraBlender or Biolith. This problem occurs when the features of your biome are in a different order than those of the vanilla biomes. To properly fix it as the author of a mod, you must find which of your features are in the wrong order and reorder them to be correct. The Cyanide mod (https://modrinth.com/mod/cyanide) is very useful for this purpose as it will clarify the error in the logs.

If you were a user of a mod having this problem, I would say to install the Feature Recycler mod (https://modrinth.com/mod/feature-recycler), which will arbitrarily reorder the features so as to prevent the crash.

@HealerPlusX
Copy link
Author

Thank you, I was not aware of this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants