-
Unable to launch an example mod from Eclipse
Yes, I also refreshed. If I use a newer version of Forge (1.13, 1.14), is there a better chance that Run will work from Eclipse after doing the standard configuration steps? BTW, I managed to run Minecraft with my draft mod using .\gradlew runClient. What's the advantage of running it directly from the Eclipse GUI?
-
Unable to launch an example mod from Eclipse
If you mean .\gradlew eclipse, then I've done that.
-
Unable to launch an example mod from Eclipse
Thanks for the quick reply, I've just tried running .\gradlew genEclipseRuns but got this error: PS C:\minecraft-workspace\forge-1.12.2-14.23.5.2768-mdk> .\gradlew genEclipseRuns To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html. This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril. ################################################# ForgeGradle 2.3-SNAPSHOT-6084129e https://github.com/MinecraftForge/ForgeGradle ################################################# Powered by MCP http://modcoderpack.com by: Searge, ProfMobius, R4wk, ZeuX Fesh0r, IngisKahn, bspkrs, LexManos ################################################# FAILURE: Build failed with an exception. * What went wrong: Task 'genEclipseRuns' not found in root project 'forge-1.12.2-14.23.5.2768-mdk'. * Try: Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED
-
oleksandr_kokoshyn joined the community
-
Unable to launch an example mod from Eclipse
Hello, I'm trying to create a mod using this tutorial: https://codakid.com/guide-to-minecraft-modding-with-java/ I went through these steps successfully: Installed Eclipse. Installed JDK. Download and extracted the Forge source (1.12). Ran the gradlew commands successfully: .\gradlew setupDecompWorkspace .\gradlew eclipse Created my classes. When I tried to click the Run Client button (the green play button), Eclipse did nothing. When I selected Run as Java Application > Launch, I got this error: [19:54:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraft.launchwrapper.VanillaTweaker [19:54:52] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraft.launchwrapper.VanillaTweaker [19:54:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraft.launchwrapper.VanillaTweaker [19:54:52] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.NoSuchMethodException: net.minecraft.client.Minecraft.main([Ljava.lang.String;) at java.lang.Class.getMethod(Unknown Source) ~[?:1.8.0_221] at net.minecraft.launchwrapper.Launch.launch(Launch.java:132) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] I would appreciate any advice on how to fix this!
IPS spam blocked by CleanTalk.