Posted July 31, 20205 yr 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 July 31, 20205 yr by urbanxx001
July 31, 20205 yr Run gradlew --refresh-dependencies , after that run gradlew clean, and finally setup your project again with gradlew genIntellijRuns Have you already tried this process ^ ? Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
July 31, 20205 yr 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 July 31, 20205 yr by Dzuchun Everything said above may be absolutely wrong. No rights reserved.
August 1, 20205 yr 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 August 1, 20205 yr by urbanxx001
August 1, 20205 yr Weird...I do not think the code is your problem here, but anyway show also your 'List' classes please Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
August 1, 20205 yr 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 August 1, 20205 yr by urbanxx001
August 1, 20205 yr 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 August 1, 20205 yr 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.