Jump to content

Recommended Posts

Posted

Has anyone found out how to specify the runtime directory to be used when launching MC/debug from eclipse?

 

The current/default setup seems to run in the base directory of wherever I have setup the forge install at....which creates a bunch of extra ...stuff... in the base repo directory.

 

For example, after running MC server, I get the /worlds directory.  After running either client/server, I get the /config directory, and a bunch of log files.  All of these appear in the same base directory as my build.gradle file.

 

Is there any way to specify a separate runtime directory to use when launched from an IDE?  So I could have a /runtime or /debug folder in my repo that held all of that stuff?  (Much easier to add a single directory to .gitignore than a ton of random files -- and it also just seems silly to clutter up my base folder with those files in the first place)

 

Anyone had any luck in figuring this out, is there something I missed, or perhaps my installation is not setup properly?

 

Thanks,

 

Shadowmage

Posted

The default launch configs that are shipped have the work directory set to ./eclipse/

However, this is a basic debug config of whatever IDE you use, it's simple to setup.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.