Jump to content

[1.18.1] Errors in current datapack prevented the world from loading


The__YG

Recommended Posts

so, i was making a mod, and then when i tried loading it, it came up with this 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.

 

I have tried debugging my mod, but nothing works.

Any help appreciated!

Edited by The__YG
Link to comment
Share on other sites

  • The__YG changed the title to [1.18.1] Errors in current datapack prevented the world from loading
10 hours ago, The__YG said:

so, i was making a mod, and then when i tried loading it, it came up with this 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.

 

I have tried debugging my mod, but nothing works.

Any help appreciated!

https://pastebin.com/2nC0541K

Link to comment
Share on other sites

2 hours ago, The__YG said:

the game doesn't crash, it just wont let me load any worlds

It was just a copy paste, i forgot to modify it 😅.

2 hours ago, The__YG said:

this is an updated debug.log from today,if it helps.

The paste does not exists.

2 hours ago, The__YG said:

also, I can't find the launcher_log.txt

It should be directly in your game directory.

Link to comment
Share on other sites

First of all it looks like this world got corrupted: minecraft/saves/ARCHAKgaming EP30
The error why you can't create a world is a mod has incorrectly named a vanilla tag:

Quote

Non [a-z0-9/._-] character in path of location: minecraft:tags/items/arrows 3.json

Unfortunately the log gives no information about which Mod cause this issue.
Make sure you are using the latests version of all Mods for the minecraft version you are using.
If the error still remains you could try to remove all Mods which add custom Arrow.

Link to comment
Share on other sites

Quote

[Info: 2022-08-07 20:26:23.884324: GameCallbacks.cpp(177)] Game/game () Info [13:26:23] [Render thread/ERROR]: Exception reading <WORKDIR>/minecraft/saves/ARCHAKgaming EP30/level.dat_old

[Info: 2022-08-07 20:26:23.884335: GameCallbacks.cpp(177)] Game/game () Info java.util.zip.ZipException: Not in GZIP format

[Info: 2022-08-07 20:26:23.884346: GameCallbacks.cpp(177)] Game/game () Info at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165) ~[?:?]

[Info: 2022-08-07 20:26:23.884357: GameCallbacks.cpp(177)] Game/game () Info at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79) ~[?:?]

[Info: 2022-08-07 20:26:23.884367: GameCallbacks.cpp(177)] Game/game () Info at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91) ~[?:?]

[Info: 2022-08-07 20:26:23.884378: GameCallbacks.cpp(177)] Game/game () Info at net.minecraft.nbt.NbtIo.m_128939_(NbtIo.java:44) ~[client-1.18.1-20211210.034407-srg.jar%2354!/:?]

This says your save is corrupted.

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.

Link to comment
Share on other sites

38 minutes ago, Luis_ST said:

First of all it looks like this world got corrupted: minecraft/saves/ARCHAKgaming EP30
The error why you can't create a world is a mod has incorrectly named a vanilla tag:

Unfortunately the log gives no information about which Mod cause this issue.
Make sure you are using the latests version of all Mods for the minecraft version you are using.
If the error still remains you could try to remove all Mods which add custom Arrow.

I think i know how to fix the custom arrow problem

Link to comment
Share on other sites

There are 3 errors for CreateWorldScreen all are invalid file names in 

e.g.

Quote

9.644080: GameCallbacks.cpp(177)] Game/game () Info [13:26:29] [Render thread/INFO]: Reloading ResourceManager: Default, forge-1.18.1-39.1.0-universal.jar, applecraft-1.0.5.jar

[Info: 2022-08-07 20:26:29.913825: GameCallbacks.cpp(177)] Game/game () Info [13:26:29] [Render thread/WARN]: Failed to load datapacks, can't proceed with server load

[Info: 2022-08-07 20:26:29.913892: GameCallbacks.cpp(177)] Game/game () Info java.util.concurrent.ExecutionException: net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character in path of location: minecraft:tags/blocks/mineable/pickaxe 2.json

[Info: 2022-08-07 20:26:29.913908: GameCallbacks.cpp(177)] Game/game () Info at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]

[Info: 2022-08-07 20:26:29.913920: GameCallbacks.cpp(177)] Game/game () Info at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]

[Info: 2022-08-07 20:26:29.913933: GameCallbacks.cpp(177)] Game/game () Info at net.minecraft.client.Minecraft.m_91190_(Minecraft.java:2072) ~[client-1.18.1-20211210.034407-srg.jar%2354!/:?]

[Info: 2022-08-07 20:26:29.913946: GameCallbacks.cpp(177)] Game/game () Info at net.minecraft.client.Minecraft.doLoadLevel(Minecraft.java:1907) ~[client-1.18.1-20211210.034407-srg.jar%2354!/:?]

[Info: 2022-08-07 20:26:29.913958: GameCallbacks.cpp(177)] Game/game () Info at net.minecraft.client.Minecraft.m_91202_(Minecraft.java:1878) ~[client-1.18.1-20211210.034407-srg.jar%2354!/:?]

[Info: 2022-08-07 20:26:29.913969: GameCallbacks.cpp(177)] Game/game () Info at net.minecraft.client.gui.screens.worldselection.CreateWorldScreen.m_100972_(CreateWorldScreen.java:240) ~[client-1.18.1-20211210.034407-srg.jar%2354!/:?]

I guess appliecraft-1.0.5.jar is your mod and it contains the tag file with the invalid space in the name "pickaxe 2"

The others are

Quote

Non [a-z0-9/._-] character in path of location: minecraft:tags/items/arrows 3.json

Non [a-z0-9/._-] character in path of location: applecraft:recipes/appleorerecipe 3.json

 

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.

Link to comment
Share on other sites

Those tag files aren't going to work unless you match the exact name of the minecraft tag, e.g. it has to be arrows.json

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.

Link to comment
Share on other sites

Well the problem is that my IDE (IntelliJ) somehow creates multiple copies of everything in build -> resources  (for example arrows 3.json) and every time I delete it, and do the build action in gradle -> build again to get the jar file , it just keeps on doing it. 

Edited by The__YG
Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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