Topic category: Help with modding (Java Edition)
When my game tries to validate the datapacks, no matter if I have exported my mod or am testing it with MCreator, I get this error:
Failed to validate datapack
java.util.concurrent.CompletionException: java.lang.IllegalStateException: Unbound values in registry ResourceKey[minecraft:root / minecraft:worldgen/placed_feature]
in regards to a lake feature I made, and the liquid I made for it. It seems like the liquid is not registering, but it was before, and the game is saying that it exists, but then it says it can't find it. The liquid was registering back in 2022.3, but when I updated to 2023.1, it ceased to work, most likely due to the new separate structure feature. I tried looking up the error, but the common solution was to add something to the code that MCreator already adds automatically (I checked for it and it was there). All of my other world generation seems to be working, so I don't know why this isn't.
have you tried to regenerate the code? or to check if the fluid is correctly there?
I did both of those things, and I still get the same error.
Wait actually, what do you mean by "correctly there". I have regenerated the code, I have checked various things, and I have even remade the feature from scratch.
This bug will be fixed in a patch release soon, see https://github.com/MCreator/MCreator/issues/3641
Ah, thank you! I will wait then.
Well, the update is out, and my mod is still breaking. I tried the fix on the issue, but it didn't do anything.
i have the same issue ,plz help
omg I found the error and I fixed it. if you have a fluid than you need to open mcreator, then on the left side of your screen go to resources then data then your mod name, then forge then biome modifier then delete the .json file that says (your fluid name) _biome_modifier.json.when you delete this .json file the error no longer happens.
I did that, and it didn't work.
Make sure to open the workspace again in this version, but a version before you opened it ever in 2023.1.
If you don't have such a version, go to <workspace folder>/.mcreator and use the latest backup ZIP file from there and import that ZIP into a new workspace folder.