AllenSeitz / DimDungeons

A Minecraft mod which adds proceedurally generated dungeons.
15 stars 13 forks source link

Crash on startup [1.18.2] #42

Closed jclendineng closed 2 years ago

jclendineng commented 2 years ago

This seems to crash at startup on 1.18.2:

-- MOD dimdungeons -- Details: Mod File: dimdungeons-1.13.4-forge-1.18.1.jar Failure message: Dimensional Dungeons (dimdungeons) encountered an error during the error event phase java.lang.NoSuchMethodError: 'void net.minecraft.world.level.levelgen.FlatLevelSource.(net.minecraft.world.level.levelgen.flat.FlatLevelGeneratorSettings)' Mod Version: 1.13.4 Mod Issue URL: NOT PROVIDED Exception message: java.lang.NoSuchMethodError: 'void net.minecraft.world.level.levelgen.FlatLevelSource.(net.minecraft.world.level.levelgen.flat.FlatLevelGeneratorSettings)' Stacktrace: at com.catastrophe573.dimdungeons.dimension.DungeonChunkGenerator.(DungeonChunkGenerator.java:37) ~[dimdungeons-1.13.4-forge-1.18.1.jar%2353!/:1.13.4] {re:classloading} at com.catastrophe573.dimdungeons.DimDungeons$RegistryEvents.registerTE(DimDungeons.java:160) ~[dimdungeons-1.13.4-forge-1.18.1.jar%2353!/:1.13.4] {re:classloading} at net.minecraftforge.eventbus.ASMEventHandler_11_RegistryEvents_registerTE_Register.invoke(.dynamic) ~[?:?] {} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%2337!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%2337!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%2337!/:?] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120) ~[javafmllanguage-1.18.2-40.0.32.jar%2356!/:?] {} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121) ~[fmlcore-1.18.2-40.0.32.jar%2355!/:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {} at net.minecraftforge.fml.ModWorkManager$SyncExecutor.driveOne(ModWorkManager.java:56) ~[fmlcore-1.18.2-40.0.32.jar%2355!/:?] {} at net.minecraftforge.fml.ModWorkManager$DrivenExecutor.drive(ModWorkManager.java:40) ~[fmlcore-1.18.2-40.0.32.jar%2355!/:?] {} at net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:215) ~[fmlcore-1.18.2-40.0.32.jar%2355!/:?] {} at net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$21(ModLoader.java:200) ~[fmlcore-1.18.2-40.0.32.jar%2355!/:?] {} at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {} at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:200) ~[fmlcore-1.18.2-40.0.32.jar%2355!/:?] {} at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$11(ModLoader.java:177) ~[fmlcore-1.18.2-40.0.32.jar%2355!/:?] {} at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {} at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:177) ~[fmlcore-1.18.2-40.0.32.jar%2355!/:?] {} at net.minecraftforge.client.loading.ClientModLoader.lambda$begin$1(ClientModLoader.java:92) ~[forge-1.18.2-40.0.32-universal.jar%2358!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.client.loading.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:113) ~[forge-1.18.2-40.0.32-universal.jar%2358!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.client.loading.ClientModLoader.begin(ClientModLoader.java:92) ~[forge-1.18.2-40.0.32-universal.jar%2358!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.(Minecraft.java:458) ~[client-1.18.2-20220228.144236-srg.jar%2354!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:169) ~[client-1.18.2-20220228.144236-srg.jar%2354!/:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {} at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.2-40.0.32.jar%2351!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%2340!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%2340!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%2340!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%2340!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%2340!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%2340!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%2340!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {} at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:57) [ForgeWrapper-mmc3.jar:mmc3] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {} at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?] {} at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?] {} at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] {} at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?] {}

AllenSeitz commented 2 years ago

To be fair, the name of the jar is dimdungeons-1.13.4-forge-1.18.1.jar

I have a few compile errors left in my 1.18.2 port. There were some breaking changes in vanilla minecraft to worldgen and tags. I promise the 1.18.2 port is coming soon.

jclendineng commented 2 years ago

To be fair, the name of the jar is dimdungeons-1.13.4-forge-1.18.1.jar

I have a few compile errors left in my 1.18.2 port. There were some breaking changes in vanilla minecraft to worldgen and tags. I promise the 1.18.2 port is coming soon.

Yes I know :) I searched for code or an issue to indicate this was already seen but didn’t see any. Thank you!!

AllenSeitz commented 2 years ago

Apparently by "soon" I meant "later today". I just finished the 1.18.2 port!

I released it hastily after an hour of testing in single player. It's been delayed long enough and no one has reported any serious issues with version 1.14 in 1.18.1 so it's probably fine.