Jump to content

Recommended Posts

Posted

Would it be possible to change the save location of my modding setup? Right now, everything is saved in "D:\Programming\Minecraft". But I would like to be able to work on a second mod in the future. Therefore I want my current mod to be in "D:\Programming\Minecraft\New folder".

Would this be possible without corrupting files? And do I need to change anything in eclipse so it can find the right path?

 

Folder.png.884f79dbef563c9b6a6693abf4bcbdc9.png

Posted

You can do this just fine. All you will have to do is tell your IDE the new location of your project.

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 tried doing so and messed up. I reinstalled everything and it's working fine now. I have one problem though, which is getting back my original code. I still have all the files, it's just hard to get them back into eclipse.

 

Things I have tried:
1) Placing them in the "bin" folder, where all files are saved. They didn't show up in eclipse however.

2) Opening them in various programs, but it gave me messud up text instead. (understandable as they are .class files)

3) dragging the files into eclipse. Eclipse gave me an error: "The Class File Viewer cannot handle the given input ('org.eclipse.ui.ide.FileStoreEditorInput')."

 

Any suggestions? I'm new to programming but determined to learn. I don't mind creating all files and packages again, but rewriting all code would be painfull. 

Posted
2 minutes ago, diesieben07 said:

Code goes in src/main/java, resources in src/main/resources.

 

Thanks. It's kinda stupid how I didn't think of this before. I found the files in the "bin" folder and just assumed those were the files I needed.

Posted
1 minute ago, diesieben07 said:

bin is where eclipse stores compiled code and assets, you should never touch it and don't copy it when you copy the project.

Good to know. Thanks for telling me!

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.