Topic category: Help with Minecraft modding (Java Edition)
So I was changing my mod's version from 1.15.2 to 1.12.2 and dimension bugs start to happen, here's crash log;
Time: 5/10/21 3:12 PM
Description: Exception in server tick loop
java.lang.IllegalArgumentException: Invalid dimension biomes_overhaul:haunted_world
at net.minecraft.world.DimensionType.func_193417_a(DimensionType.java:104)
at net.minecraft.advancements.critereon.ChangeDimensionTrigger.func_192166_a(SourceFile:58)
at net.minecraft.advancements.critereon.ChangeDimensionTrigger.func_192166_a(SourceFile:20)
at net.minecraft.advancements.Criterion.func_192145_a(SourceFile:35)
at net.minecraft.advancements.Criterion.func_192144_b(SourceFile:46)
at net.minecraft.advancements.Advancement$Builder.func_192059_a(SourceFile:204)
at net.minecraft.advancements.AdvancementManager$1.deserialize(AdvancementManager.java:50)
at net.minecraft.advancements.AdvancementManager$1.deserialize(AdvancementManager.java:46)
at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69)
at net.minecraft.util.JsonUtils.func_188173_a(SourceFile:492)
at net.minecraft.util.JsonUtils.func_188176_a(SourceFile:517)
at net.minecraft.util.JsonUtils.func_188178_a(SourceFile:537)
at net.minecraftforge.common.ForgeHooks.lambda$loadAdvancements$0(ForgeHooks.java:1381)
at net.minecraftforge.common.ForgeHooks$$Lambda$226/958389995.apply(Unknown Source)
at net.minecraftforge.common.crafting.CraftingHelper.findFiles(CraftingHelper.java:833)
at net.minecraftforge.common.ForgeHooks.loadAdvancements(ForgeHooks.java:1359)
at net.minecraftforge.common.ForgeHooks.loadAdvancements(ForgeHooks.java:1326)
at net.minecraft.advancements.AdvancementManager.func_192779_a(AdvancementManager.java:69)
at net.minecraft.advancements.AdvancementManager.<init>(AdvancementManager.java:60)
at net.minecraft.world.WorldServer.func_175643_b(WorldServer.java:156)
at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:122)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:156)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Thread.java:745)
Can anybody help me?? I don't know what to do
Can you explain the bugs a little more?
Firstly, right after porting to 1.12.2, dimension didn't work correctly for some reasons so I assumed it was code that was broken after refactor workspace so I remade the exact dimension but with different name "haunted world" and it also don't work. Game instantly crashed every time I load or create new world with mod.
So um, yeah that's pretty much everything I can say.
I suggest you open a bug report on github and include a demo workspace.
You may have imported something unsupported when you changed the mod from 1.15 to 1.12. I do not recommend changing a workspace from a newer version to an older version.
Probably. Guess I will remake entire mod from scratch, it's really small and I recently started working on it anyways.