Jump to content

Recommended Posts

Posted (edited)

I have 2 computers and I want to use one for Intellij, and the other one for testing forge mods (to lessen CPU load). Is it possible to have my IDE (IntelliJ IDEA Ultimate) on computer 1, and runClient on computer 2? Can I set it up that when I press a button on my IDE, it builds my mod and starts Minecraft on computer 2 (runClient), while still being able to access debugging features on computer 1? They are both on the same network and I can access computer 2 via SSH.

 

The only way I could think of doing this is to manually copy the compiled .jar to computer 2, and start Minecraft on there (with some debug flags), then connecting to it from computer 1.That seems a bit tedious to do each time I want to some code.

 

Is this possible? And if so, any ideas on how to do this?

Edited by Wyrm
Posted

What's stopping you from debugging on one PC?

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

 

Posted
  On 11/29/2020 at 10:41 AM, diesieben07 said:

I can't think of any other way. But it should be possible to do this with a bash script, which copies the JAR over using SCP and starts the game using SSH. Then invoke this script from a Gradle task.

Then in the "Remote Debug" configuration in IntelliJ you can use "Before Launch" to run the necessary Gradle tasks.

Expand  

I'll try that, thanks!

 

  On 11/29/2020 at 6:54 PM, DaemonUmbra said:

What's stopping you from debugging on one PC?

Expand  

I can debug it on one PC, but the CPU isn't powerful enough to open a web browser + IDE + Minecraft without the whole system starting to lag.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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