我正在尝试制作 Minecraft 模组,但我无法运行 Minecraft 客户端,这是我遇到的错误
Connected to the target VM, address: '127.0.0.1:62751', transport: 'socket'
warning: dev-launch-injector in pass-through mode, missing or unreadable config file (C:\Users\user'\Desktop\Minecraft mods\ItsAMod\.gradle\loom-cache\launch.cfg)
[09:37:20] [INFO] [FabricLoader/GameProvider]: Loading Minecraft 1.18.1 with Fabric Loader 0.13.3
[09:37:22] [main/INFO]: Loading Minecraft 1.18.1 with Fabric Loader 0.13.3
[09:37:22] [main/INFO]: Loading 3 mods:
- fabricloader 0.13.3
- java 17
- minecraft 1.18.1
[09:37:22] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/user'/.gradle/caches/modules-2/files-2.1/net.fabricmc/sponge-mixin/0.11.2+mixin.0.8.5/f4ae569d559b5e3244b67321945261d83ff7ad8e/sponge-mixin-0.11.2+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[09:37:34] [Render thread/INFO]: [STDERR]: [LWJGL] Failed to load a library. Possible solutions:
a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
b) Add the JAR that contains the shared library to the classpath.
[09:37:34] [Render thread/INFO]: [STDERR]: [LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[09:37:34] [Render thread/INFO]: [STDERR]: [LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
[09:37:35] [Render thread/ERROR]: Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:418) ~[fabric-loader-0.13.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.13.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.13.3.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) [dev-launch-injector-0.2.1+build.8.jar:?]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem
at net.minecraft.util.SystemDetails.addSection(SystemDetails.java:65) ~[minecraft-project-@-mapped.jar:?]
at net.minecraft.client.MinecraftClient.addSystemDetailsToCrashReport(MinecraftClient.java:2420) ~[minecraft-project-@-mapped.jar:?]
at net.minecraft.client.MinecraftClient.addSystemDetailsToCrashReport(MinecraftClient.java:2415) ~[minecraft-project-@-mapped.jar:?]
at net.minecraft.client.main.Main.main(Main.java:208) ~[minecraft-project-@-mapped.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 net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) ~[fabric-loader-0.13.3.jar:?]
... 3 more
Disconnected from the target VM, address: '127.0.0.1:62751', transport: 'socket'
Process finished with exit code 1
我仔细检查了我的代码,但它仍然不起作用:(