Jump to content

Recommended Posts

Posted (edited)

I'm modding for version 1.16.1-32.0.75 in Intellij. When creating a world, I receive the error that currently selected datapacks prevented the world from loading. I checked the client run window and found many errors that have vanilla minecraft paths, and none are blocks associated with my mod. Some of these are:

java.io.FileNotFoundException: minecraft:advancements/recipes/decorations/orange_stained_glass_pane_from_glass_pane.json

java.io.FileNotFoundException: minecraft:loot_tables/blocks/stone_pressure_plate.json

java.io.FileNotFoundException: minecraft:recipes/purpur_pillar.json

java.io.FileNotFoundException: minecraft:advancements/recipes/decorations/painting.json

The actual window is shown in this pastebin. This is only a snippet though, as the amount of errors are too large to paste. I had the errors in an older 1.16 version and figured updating the dependencies would help, but did not. Is this an issue with 1.16 being buggy or my mod? Is there a generally accepted stable version? Thanks for any advice. 

Edited by urbanxx001
Posted (edited)
2 hours ago, urbanxx001 said:

java.io.FileNotFoundException: minecraft:advancements/recipes/decorations/orange_stained_glass_pane_from_glass_pane.json

java.io.FileNotFoundException: minecraft:loot_tables/blocks/stone_pressure_plate.json

java.io.FileNotFoundException: minecraft:recipes/purpur_pillar.json

java.io.FileNotFoundException: minecraft:advancements/recipes/decorations/painting.json

You may check manually, these files exist in linked libraries?

If they're not, they obviously should.

Edited by Dzuchun

Everything said above may be absolutely wrong. No rights reserved.

Posted (edited)
4 hours ago, urbanxx001 said:

Actually something to mention is that using


@Mod.EventBusSubscriber(modid = Main.MOD_ID)

in the main class works, even though I'm not 100%. All the tutorials I've seen use:


@Mod.EventBusSubscriber(modid = Main.MOD_ID, bus = Bus.MOD) 

Which doesn't work in 1.16.

That's not true, you can add the above annotation to your classes even in 1.16+, unless you are using a version of forge where some kind of bug prevents you from doing that. Of course you have to import Bus or just use Mod.EventBusSubscriber.Bus.MOD.

As i said before, the code seems fine and i don't see any reason why it would cause problems with vanilla JSONs, unless i am missing something. I am afraid i have no clue where your issue is coming from :/ ..try updating your forge version, and maybe start a fresh new project and see if the problem still appears.

Edited by Beethoven92

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

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.

Announcements



×
×
  • Create New...

Important Information

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