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

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

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.

  • Author

Yes, the files exist in Gradle: net.minecraft:client:extra:1.16.1. I wonder if my main class registry is somehow affecting it: Main Class

Edited by urbanxx001

  • Author

Of course

 

BlockList

FluidList

FoodList

ItemList

PotionList

 

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.

Edited by urbanxx001

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

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.