Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello,

 

I've switched from a working world in 1.18.1 to 1.18.2 Forge I've gone through and picked out the 1.18.2 versions of each mod I use in my custom pack. 

Though when I go to load the world I get an error "Errors in currently selected datapacks prevented the world from loading. You can either try to load it with only the vanilla data pack ("safe mode") or go back to the title screen to manually fix it"

clicking safe mode does nothing. This error also occurs in previously made vanilla only worlds. 

I'm not sure what to do I put a ton of hours into my previous world, the only reason I updated in the first place was to use the new create mod, this is pretty much my last ditch effort before giving up.

Here is a link to the Zip File Containing Mods and Debug Log.

I'd like to save my world if possible.

 

Thank you,

Queen

Quote

[30Jul2022 13:39:35.201] [Render thread/ERROR] [net.minecraft.world.level.storage.LevelStorageSource/]: Exception reading C:\Users\Luke\AppData\Roaming\.minecraft\saves\ForgeWorld_0_18_1\level.dat_old
java.util.NoSuchElementException: No value present
        at java.util.Optional.orElseThrow(Optional.java:377) ~[?:?]
        at net.minecraft.util.datafix.fixes.StructureSettingsFlattenFix.m_204014_(StructureSettingsFlattenFix.java:27) ~[client-1.18.2-20220404.173914-srg.jar%23117!/:?]
        at com.mojang.datafixers.Typed.lambda$updateTyped$6(Typed.java:127) ~[datafixerupper-4.1.27.jar%2334!/:?]
        at com.mojang.datafixers.Typed.lambda$updateCap$9(Typed.java:164) ~[datafixerupper-4.1.27.jar%2334!/:?]
        at com.mojang.datafixers.optics.Traversal$Instance$1.lambda$wander$0(Traversal.java:34) ~[datafixerupper-4.1.27.jar%2334!/:?]
 

Your issue is that Mojang changed the format for saving world gen structures within world saves in 1.18.2

This was to make structures more configurable in datapacks.

While they have a way of updating vanilla structures, it can't fix modded structures - before 1.18.2 there was no standard format for this data.

 

The only thing I can suggest is to talk the mod authors for the world gen mods that you have.

They may know a way to fix the data?

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

  • Author
8 hours ago, warjort said:

Your issue is that Mojang changed the format for saving world gen structures within world saves in 1.18.2

This was to make structures more configurable in datapacks.

While they have a way of updating vanilla structures, it can't fix modded structures - before 1.18.2 there was no standard format for this data.

 

The only thing I can suggest is to talk the mod authors for the world gen mods that you have.

They may know a way to fix the data?

Thank you, is there a way to know which mods are causing this issue? I'm not entirely sure which mods Generate structures :(

Use the /locate command it will list all structures in the autocompletion. The part before the : is the mod name.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

  • Author
11 hours ago, warjort said:

Use the /locate command it will list all structures in the autocompletion. The part before the : is the mod name.

What if I'm unable to load any old or new world 😅

  • Author
1 hour ago, Luis_ST said:

Please post debug.log from the logs folder when you try to load a new World.

I did... Its in the file in my first post. I will make it separate for you though.

Debug.Log Download

  • Author
56 minutes ago, diesieben07 said:

Refer to the Optifine downloads page regarding compatibility with Forge.

You are wonderful! I removed the Optifine mod and it works perfectly!

Edited by SaveZeQueen

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.