toolbox4minecraft / amidst

Advanced Minecraft Interface and Data/Structure Tracking
GNU General Public License v3.0
2.14k stars 238 forks source link

Can't use 1.18 snapshot #1064

Open LuMa2003 opened 2 years ago

LuMa2003 commented 2 years ago

Trying to use both amidst 4.6 and 4.7 and i am getting errors when trying to open 21w37a.

4.6 log: info] Amidst v4.6 [info] Current system time: 2021-09-23 16:13:53.828 [info] System.getProperty("os.name") == 'Windows 10' [info] System.getProperty("os.version") == '10.0' [info] System.getProperty("os.arch") == 'amd64' [info] System.getProperty("java.version") == '1.8.0_301' [info] System.getProperty("java.vendor") == 'Oracle Corporation' [info] System.getProperty("sun.arch.data.model") == '64' [info] Not using OpenGL. [info] Biome profile activated: Default [info] Using look & feel: javax.swing.plaf.metal.MetalLookAndFeel [info] using '.minecraft' directory at: 'C:\Users\perlu\AppData\Roaming.minecraft' [info] using biome profiles at: 'biome' [info] Starting to download remote version list. [info] Scanning for profiles. [info] Successfully loaded profile list. [warning] java.io.FileNotFoundException: cannot find valid version directory for launcher profile 'Latest version' at amidst.mojangapi.file.service.DotMinecraftDirectoryService.createValidVersionDirectory(DotMinecraftDirectoryService.java:154) at amidst.mojangapi.file.UnresolvedLauncherProfile.resolveToVanilla(UnresolvedLauncherProfile.java:59) at amidst.gui.profileselect.LocalProfileComponent.tryResolve(LocalProfileComponent.java:97) at amidst.threading.WorkerExecutor.lambda$run$9(WorkerExecutor.java:71) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

[warning] java.io.FileNotFoundException: cannot find valid version directory for launcher profile 'Latest snapshot' at amidst.mojangapi.file.service.DotMinecraftDirectoryService.createValidVersionDirectory(DotMinecraftDirectoryService.java:154) at amidst.mojangapi.file.UnresolvedLauncherProfile.resolveToVanilla(UnresolvedLauncherProfile.java:59) at amidst.gui.profileselect.LocalProfileComponent.tryResolve(LocalProfileComponent.java:97) at amidst.threading.WorkerExecutor.lambda$run$9(WorkerExecutor.java:71) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

[info] Successfully loaded remote version list. [warning] java.io.FileNotFoundException: cannot find valid version directory for launcher profile 'Latest version' at amidst.mojangapi.file.service.DotMinecraftDirectoryService.createValidVersionDirectory(DotMinecraftDirectoryService.java:154) at amidst.mojangapi.file.UnresolvedLauncherProfile.resolveToVanilla(UnresolvedLauncherProfile.java:59) at amidst.gui.profileselect.LocalProfileComponent.tryResolve(LocalProfileComponent.java:97) at amidst.threading.WorkerExecutor.lambda$run$9(WorkerExecutor.java:71) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

[info] using minecraft launcher profile 'Latest snapshot' with versionId '21w37a' [info] Loading libraries. [info] Found library com.mojang:blocklist:1.0.5 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/mojang/blocklist/1.0.5/blocklist-1.0.5.jar [info] Found library com.mojang:patchy:2.1.6 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/mojang/patchy/2.1.6/patchy-2.1.6.jar [info] Found library com.github.oshi:oshi-core:5.7.5 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/github/oshi/oshi-core/5.7.5/oshi-core-5.7.5.jar [info] Found library net.java.dev.jna:jna:5.8.0 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/net/java/dev/jna/jna/5.8.0/jna-5.8.0.jar [info] Found library net.java.dev.jna:jna-platform:5.8.0 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/net/java/dev/jna/jna-platform/5.8.0/jna-platform-5.8.0.jar [info] Found library org.slf4j:slf4j-api:1.8.0-beta4 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar [info] Found library org.apache.logging.log4j:log4j-slf4j18-impl:2.14.1 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.14.1/log4j-slf4j18-impl-2.14.1.jar [info] Found library com.ibm.icu:icu4j:66.1 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/ibm/icu/icu4j/66.1/icu4j-66.1.jar [info] Found library com.mojang:javabridge:1.2.24 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar [info] Found library net.sf.jopt-simple:jopt-simple:5.0.3 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar [info] Found library io.netty:netty-all:4.1.25.Final at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/io/netty/netty-all/4.1.25.Final/netty-all-4.1.25.Final.jar [info] Found library com.google.guava:guava:21.0 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar [info] Found library org.apache.commons:commons-lang3:3.5 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar [info] Found library commons-io:commons-io:2.5 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar [info] Found library commons-codec:commons-codec:1.10 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar [info] Found library net.java.jinput:jinput:2.0.5 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar [info] Found library net.java.jutils:jutils:1.0.0 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar [info] Found library com.mojang:brigadier:1.0.18 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar [info] Found library com.mojang:datafixerupper:4.0.26 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/mojang/datafixerupper/4.0.26/datafixerupper-4.0.26.jar [info] Found library com.google.code.gson:gson:2.8.0 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar [info] Found library com.mojang:authlib:2.3.31 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/mojang/authlib/2.3.31/authlib-2.3.31.jar [info] Found library org.apache.commons:commons-compress:1.8.1 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar [info] Found library org.apache.httpcomponents:httpclient:4.3.3 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar [info] Found library commons-logging:commons-logging:1.1.3 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar [info] Found library org.apache.httpcomponents:httpcore:4.3.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar [info] Found library it.unimi.dsi:fastutil:8.2.1 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/it/unimi/dsi/fastutil/8.2.1/fastutil-8.2.1.jar [info] Found library org.apache.logging.log4j:log4j-api:2.14.1 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar [info] Found library org.apache.logging.log4j:log4j-core:2.14.1 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar [info] Skipping inactive library org.lwjgl:lwjgl:3.2.1 [info] Found library org.lwjgl:lwjgl:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl/3.2.2/lwjgl-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-jemalloc:3.2.1 [info] Found library org.lwjgl:lwjgl-jemalloc:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-jemalloc/3.2.2/lwjgl-jemalloc-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-openal:3.2.1 [info] Found library org.lwjgl:lwjgl-openal:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-openal/3.2.2/lwjgl-openal-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-opengl:3.2.1 [info] Found library org.lwjgl:lwjgl-opengl:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-opengl/3.2.2/lwjgl-opengl-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-glfw:3.2.1 [info] Found library org.lwjgl:lwjgl-glfw:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-glfw/3.2.2/lwjgl-glfw-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-stb:3.2.1 [info] Found library org.lwjgl:lwjgl-stb:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-stb/3.2.2/lwjgl-stb-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-tinyfd:3.2.1 [info] Found library org.lwjgl:lwjgl-tinyfd:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-tinyfd/3.2.2/lwjgl-tinyfd-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl:3.2.1 [info] Found library org.lwjgl:lwjgl:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl/3.2.2/lwjgl-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-jemalloc:3.2.1 [info] Found library org.lwjgl:lwjgl-jemalloc:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-jemalloc/3.2.2/lwjgl-jemalloc-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-openal:3.2.1 [info] Found library org.lwjgl:lwjgl-openal:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-openal/3.2.2/lwjgl-openal-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-opengl:3.2.1 [info] Found library org.lwjgl:lwjgl-opengl:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-opengl/3.2.2/lwjgl-opengl-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-glfw:3.2.1 [info] Found library org.lwjgl:lwjgl-glfw:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-glfw/3.2.2/lwjgl-glfw-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-stb:3.2.1 [info] Found library org.lwjgl:lwjgl-tinyfd:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-tinyfd/3.2.2/lwjgl-tinyfd-3.2.2-natives-windows.jar [info] Skipping inactive library org.lwjgl:lwjgl-tinyfd:3.2.1 [info] Found library org.lwjgl:lwjgl-stb:3.2.2 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl-stb/3.2.2/lwjgl-stb-3.2.2-natives-windows.jar [info] Found library com.mojang:text2speech:1.11.3 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/mojang/text2speech/1.11.3/text2speech-1.11.3-natives-windows.jar [info] Found library com.mojang:text2speech:1.11.3 at file:/C:/Users/perlu/AppData/Roaming/.minecraft/libraries/com/mojang/text2speech/1.11.3/text2speech-1.11.3-natives-windows.jar [info] Skipping inactive library ca.weblite:java-objc-bridge:1.0.0 [info] Skipping inactive library ca.weblite:java-objc-bridge:1.0.0 [info] Finished loading libraries. [crash] Amidst has encounted an uncaught exception on the thread Thread[WorkerExecutor-1,1,main] [crash] java.lang.UnsupportedClassVersionError: net/minecraft/server/MinecraftServer has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at amidst.mojangapi.minecraftinterface.RecognisedVersion.getMainClassFields(RecognisedVersion.java:269) at amidst.mojangapi.minecraftinterface.RecognisedVersion.generateMagicString(RecognisedVersion.java:260) at amidst.mojangapi.minecraftinterface.RecognisedVersion.from(RecognisedVersion.java:255) at amidst.mojangapi.minecraftinterface.MinecraftInterfaces.fromLocalProfile(MinecraftInterfaces.java:33) at amidst.mojangapi.RunningLauncherProfile.from(RunningLauncherProfile.java:26) at amidst.mojangapi.LauncherProfileRunner.run(LauncherProfileRunner.java:22) at amidst.gui.profileselect.LocalProfileComponent.tryLoad(LocalProfileComponent.java:142) at amidst.threading.WorkerExecutor.lambda$run$9(WorkerExecutor.java:71) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

Here is 4.7: unknown 1

Capitalplayground commented 2 years ago

I think when more stable snapshots are out and we are closer to a release of the full 1.18 version we will see changes to amidst

TheRealWormbo commented 2 years ago

I assume 1.18 support will require major changes, considering there are cave biomes, and also the surface biome borders are not necessarily the same at all Y levels. This may also be a good time to implement a separate nether view.

StennosPlays commented 2 years ago

Getting the same issue with 21w41a. May still have to wait for a pre release I guess image

christofin commented 2 years ago

Still not working on the full release.

Assaro commented 2 years ago

It doesnt work with Amidst because of the new Java version used for 1.18, maybe some other stuff as well. A recompile with Java 17 might be enought though

SpaceXCheeseWheel commented 2 years ago

Nope, compiled with Java 17 but it did not work :( At a glance, looks like the same error as the original issue.

2021-12-02 15:52:56.604 [error] amidst.mojangapi.minecraftinterface.MinecraftInterfaceCreationException: Unable to create local minecraft interface
    at amidst.mojangapi.minecraftinterface.MinecraftInterfaces.fromLocalProfile(MinecraftInterfaces.java:48)
    at amidst.mojangapi.RunningLauncherProfile.from(RunningLauncherProfile.java:26)
    at amidst.mojangapi.LauncherProfileRunner.run(LauncherProfileRunner.java:22)
    at amidst.gui.profileselect.LocalProfileComponent.tryLoad(LocalProfileComponent.java:142)
    at amidst.threading.WorkerExecutor.lambda$run$9(WorkerExecutor.java:71)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.ClassNotFoundException: cannot find a real class matching the symbolic class BiomeZoomer
    at amidst.clazz.symbolic.declaration.SymbolicClassDeclaration.handleNoMatch(SymbolicClassDeclaration.java:64)
    at amidst.clazz.translator.ClassTranslator.addResult(ClassTranslator.java:67)
    at amidst.clazz.translator.ClassTranslator.translate(ClassTranslator.java:54)
    at amidst.clazz.Classes.createSymbolicClassMap(Classes.java:39)
    at amidst.mojangapi.minecraftinterface.MinecraftInterfaces.fromLocalProfile(MinecraftInterfaces.java:38)
    ... 7 more

I don't know how to get more verbose error messages out of this.

FakenameBill commented 2 years ago

Nope, compiled with Java 17 but it did not work :( At a glance, looks like the same error as the original issue. [snip]

It's not just the Java version -- Minecraft's biome system has completely changed in 1.18. AMIDST will have to be updated.

Satko commented 2 years ago

When can we expect an update, it's been more than 3 weeks since 1.18 released? I love this program and hope it's not abandoned.

samswo commented 2 years ago

When can we expect an update, it's been more than 3 weeks since 1.18 released? I love this program and hope it's not abandoned.

Also really hoping AMIDST isn't getting abandoned. It's been the best biome viewer and generated structure tool for a long time now.

mageddo commented 2 years ago

Same on minecraft v1.19, java 17, some major change will be required to this get working again