Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Okay sorry:

What i did: Run the client.launch inside eclipse.

What i should've done: Run ./gradlew runClient inside eclipse

 

What would solve my problem: A way to execute a .sh inside eclipse (this worked atleast 5-6 years ago as far as i remember).

 

I followed the instructions on the readthedocs domain of forge and setup my eclipse.

The following things work:

- Launching Minecraft with forge via the client.launch (aswell as the server) and using the mods that are in the run/mods/ dir

- building the mod from within eclipse with the gradle into build/libs/

- writing a mod

 

what my problem is:

After some time it is getting really tedious to always move the jar "by hand" (via terminal cp) and executing all steps on at a time.

Is there a way to

 

1) automate moving/copying the jar within eclipse (.sh's aren't supported anymore as far as i can tell, google doesnt know the answer)

 

2) setup a command chain within eclipse (building jar, copying it, launching the client) or is that something i should just do via a .sh/terminal and get over with it (is it possible to do that inside the .launch? i tried but with no luck)

if you signed your post you wasted time

Why do you need to do this? Forge will load your mod from your IDE's build output directory, you don't need to build a full JAR with Gradle and put it in the mods folder.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

  • Author

Okay thanks, i guess i read the doc right and it should work like that but it sadly doesnt

just starting the client with the client.launch doesnt load the mod content

 

does it have anything to do with my eclipse workdirectory because i might messed that up

 

e: wait i might found a solution, will edit the main post if im alright

if you signed your post you wasted time

Guest
This topic is now closed to further replies.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.