When I Try to Make A World With My Mod, The Game Breaks.

Started by AwesomeSavage777 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When I Try to Make A World With My Mod, The Game Breaks.

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.

Please Help!!

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
have you tried to regenerate…
Fri, 03/10/2023 - 14:14

have you tried to regenerate the code? or to check if the fluid is correctly there?

 

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did both of those things,…
Fri, 03/10/2023 - 16:32

I did both of those things, and I still get the same error.

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait actually, what do you…
Fri, 03/10/2023 - 17:23

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.

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah, thank you! I will wait…
Sat, 03/11/2023 - 02:18

Ah, thank you! I will wait then.

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, the update is out, and…
Sat, 03/11/2023 - 19:39

Well, the update is out, and my mod is still breaking. I tried the fix on the issue, but it didn't do anything.

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i have the same issue ,plz…
Sat, 03/11/2023 - 21:19

i have the same issue ,plz help

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
omg I found the error and I…
Sat, 03/11/2023 - 21:42

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.

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did that, and it didn't…
Sat, 03/11/2023 - 23:35

I did that, and it didn't work.

Make sure to open the…
Sun, 03/12/2023 - 20:29

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.