Jump to content

How to setup forge (project) for multiple use in IntelliJ IDEA


cluwaehi

Recommended Posts

I am starting with Forge modding, so please be patient.

I found this video tutorial, where my code is my folder & forge is in another, but it is for eclipse.

http://www.youtube.com/watch?v=u2sIWkIRmkk

 

I found this, but this is old & it is not structerd as I want.

http://www.minecraftforge.net/wiki/Forge_Development_in_IntelliJ_IDEA

 

Please do you now someone about tutorial as in video but for IntelliJ IDEA?

Maybe some one can create it & make it for us.  ;) I will be really thankful.

 

I now how to build it but I dont now how to set up it for IntelliJ IDEA.

Default structure is not good for me. I am starting on mod where I have core as extra project.

Link to comment
Share on other sites

http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html

Readup on this.

The default structure is just fine for you, you just need to depend on another project instead of a normal library. {It's described int hat page}

'Forge code' is NEVER in your workspace anymore, it's a eternal dependancy, so any setup that tells you to link your folder elseware is just being annoying.

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

Link to comment
Share on other sites

{It's described int hat page}

?? I dont understand.

'Forge code' is NEVER in your workspace anymore, it's a eternal dependancy, so any setup that tells you to link your folder elseware is just being annoying.

But if I have Mode1 & Mode2 I have Forge in folder Mode1 & in Mode2 ....etc.... This duplication is annoying.

And as you can it is in my workspace:

http://s11.postimg.org/hz5qzx16r/Bez_n_zvu_1.jpg

Link to comment
Share on other sites

But if I have Mode1 & Mode2 I have Forge in folder Mode1 & in Mode2

No, you don't, as confirmed by your screenshot.

Forge isn't in your "Forge" module (this is your naming, and it is inaccurate). It's in the external librairies. And those can be shared between projects without duplicate.

Link to comment
Share on other sites

No, you don't, as confirmed by your screenshot.

 

So, please help.

1. I run gradlew in C:/Forge & create idea project.

2. Open project (because I want main setting) & add Module Mode1

....

Problem is that everythnik is stored in C:/Forge/forge.ipr (config of porject for ide). And this is reason that I must duplicate Forge for every mod.

 

So, I how make it in different way if you that I must not!?

 

Link to comment
Share on other sites

We no dua, That the project config is located in the Project file.

And each mod should be it's own Project.

What you WANT is a workspace, with multiple projects.

You're not duplicating Forge, you're just having multiple files that YOU call 'Forge'

Nothing is duplicated, it's the project config.

If you want a workspace wide config, you'll have to figure out how to do that in intellij. Thats nothing we have control over.

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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