Looking for help with an error - java.lang.IllegalStateException: Trying to access unbound value [FIXED]

Started by ModsByDreamCritting on

Topic category: Help with modding (Java Edition)

Last seen on 16:44, 14. Apr 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Looking for help with an error - java.lang.IllegalStateException: Trying to access unbound value [FIXED]
Thu, 06/30/2022 - 19:43 (edited)

I have been trying to update a mod from 1.16.5 (Shadowlands) to 1.18.2. No errors show when compiling, however on trying to create a world it shows an error screen saying it failed to load datapacks. I'm using Mcreator version 2022.1

Error paste: https://pastebin.com/EqZVun7k

Error screen: https://cdn.discordapp.com/attachments/818441271752392704/9920194434189…

clicking "safe mode" does nothing.

It sounds like something is wrong with the Shadowbraxis dimension, although I have no idea what or how to fix it.

Code of dimension: https://pastebin.com/tyDa2Ezw

it works fine in 1.16.5.

This might be supposed to be a bug report? It says to make a forum post first though so I'm doing that.

[edit] seems to only happen when the dimension is set to have more than one modded biome, which is odd since it's only a problem for that dimension.

Edited by ModsByDreamCritting on Thu, 06/30/2022 - 19:43
Last seen on 16:44, 14. Apr 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Right so I've found what the…
Thu, 06/30/2022 - 19:33

Right so I've found what the problem was - biomes cannot have very high biome weights.

I don't know what the limit is but 300 seems to be way too high, I changed it to 10 for all the biomes in the dimension and it works now.