Jump to content

Recommended Posts

Posted

Hi!

 

I'm starting to develop a mod and I have followed this doc: http://mcforge.readthedocs.io/en/latest/

 

I can build the mod with the command line: "gradlew build"! But I want to debug it, so to do this I need to run Minecraft from the Eclipse, right?

 

If I try to "Run as...", I don't know wich class I need to select. If I select the "Main - net.minecraft.client.main" I get this error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl64 in java.library.path

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)

at java.lang.Runtime.loadLibrary0(Runtime.java:870)

at java.lang.System.loadLibrary(System.java:1122)

at org.lwjgl.Sys$1.run(Sys.java:72)

at java.security.AccessController.doPrivileged(Native Method)

at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)

at org.lwjgl.Sys.loadLibrary(Sys.java:87)

at org.lwjgl.Sys.<clinit>(Sys.java:117)

at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:3031)

at net.minecraft.client.main.Main.main(Main.java:42)

 

Anyone can help me?

Posted

This whole time I've just been clicking the little beetle icon that says 'Debug Client' whenever I want to change things and immediately test them. Is that all you want to do or am I underestimating your problem?

Posted

What I do is: gradlew setupDevWorkspace setupDevWorkspace eclipse, all at once and open eclipse, set workspace dir in the eclipse folder of your forge mdk folder. After that, you can start minecraft. (Using GradleStart as main class already setup for you).

Posted

It works with Eclipse Mars??

 

I ran this now:

d:\Download\forge> gradlew setupDevWorkspace setupDevWorkspace eclipse

To honour the JVM settings for this build a new JVM will be forked. Please consi

der using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.

 

#################################################

        ForgeGradle 2.2-SNAPSHOT-59eb824

  https://github.com/MinecraftForge/ForgeGradle

#################################################

              Powered by MCP unknown

            http://modcoderpack.com

        by: Searge, ProfMobius, Fesh0r,

        R4wk, ZeuX, IngisKahn, bspkrs

#################################################

:deobfCompileDummyTask

:getVersionJson

:extractUserdev

:downloadClient SKIPPED

:downloadServer SKIPPED

:splitServerJar SKIPPED

:mergeJars SKIPPED

:applyBinaryPatches SKIPPED

:deobfProvidedDummyTask

:extractDependencyATs SKIPPED

:extractMcpData SKIPPED

:extractMcpMappings SKIPPED

:genSrgs SKIPPED

:deobfMcMCP SKIPPED

:extractNatives SKIPPED

:getAssetIndex UP-TO-DATE

:getAssets

Current status: 400/1196  33%

Current status: 799/1196  66%

:makeStart

:setupDevWorkspace

:eclipseClasspath

:eclipseJdt

:eclipseProject

:makeEclipseCleanRunClient

:makeEclipseCleanRunServer

:eclipse

 

BUILD SUCCESSFUL

 

Total time: 17.412 secs

 

 

************************************

I try also just open the folder as an Eclipse's Workspace and it don't show any project ...

Posted

You have to import it.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

I didn't solved, but after a lot of tries I see that inside Run Configurations there are 2 Runs, and they work!!!!

 

Untitled.png

 

I don't understand why I can't create my Run Configuration, but my problem was solved.

 

Thks

  • 3 years later...
Posted

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.