Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Setting up Forge to Develop Forge
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
Draco18s

Setting up Forge to Develop Forge

By Draco18s, October 19, 2016 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

"Just clone, download, and run setup!" it says.

 

Clone. Easy.

Run setup. Ok, had to install git first (as in actual git). Fine.

Point eclipse at the eclipse folder in the project.  Uh...what eclipse folder?

 

"Here's a video of CPW doing it with IntelliJ"

Fine, lets try IntelliJ.  Downloaded, installed, project cloned, and...

 

gradle.png

 

FML.

I can't configure the project the way CPW says ("use default") because it's not available, but then my "use local" settings are incomplete and I don't know what the right values are (including JAVA_HOME not being set and no option to configure it, WTF?)

 

Fixed JAVA_HOME myself, still don't know the gradle path, so I tired using the "use gradle wrapper task configuration."

 

width=699 height=155https://s11.postimg.org/jdyzigfgj/no_file.png[/img]

 

The /fml folder is 100% empty.  Not that I know why it wants the 1.7.10 json for anyway.

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

Are you sure you are on the 1.10.x branch?

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

Fuck if I know.  IntelliJ's "clone from Github" only selects a project.

git.png

 

I had to delete the local Idea Project to get that, figured for shits and giggles I'll check later screens.

Downloads...creates a project...and gets a dozen steps farther than last time.  All the way in to being able to view source code and I still have no idea which branch its on.

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

You do know you can just use git from the command line, too, right? :) But you can find the branch in the lower-right corner:

IpYdgxW.png

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

You do know you can just use git from the command line, too, right? :)

 

Only in the general sense.  Doesn't mean I know what I'm doing.

 

But you can find the branch in the lower-right corner:

IpYdgxW.png

 

Ah. Thanks.

I don't use IntelliJ.  I like Eclipse.

 

And....

 

I now have a project that has lots of source code for Forge, but none of the patches made to vanilla and in fact, no vanilla source either (opening up a class file largely at random IntelliJ takes a minute aftewards going "hold on, I can't resolve these references" and the entire scrollbar goes red).

 

I'm trying really hard not to fall back on coremodding because that's not the way things should be done, but instead, writing a PR for a new event in the place I want it to do what it needs to so that I can interrupt/modify vanilla behavior.

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

I really do not know why you are having so much trouble. I have never encountered any of these problems you are describing. Yes, the setup tasks takes a long time and IntelliJ's indexing will take a while, too (it's a lot of code!), but other than that everything has always "just worked" for me here...

 

All I can say is try to re-run the setup task from inside IntelliJ and then refresh gradle (blue arrow thingy in the gradle sidebar).

 

And, another thing, you should try IntelliJ. It is amazing :P

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

All I can say is try to re-run the setup task from inside IntelliJ...

 

Wha..?

How?

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

If the sidebar on the right is not there, double click the thing in the bottom left.

Select the task from the task list and double click it.

 

DmqaPMG.png

 

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

There's no "tasks" from that icon.

I did find Window -> Background Tasks, which says "no active background tasks."

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

Ok, then something went wrong when importing the project... You are on 1.10.x now? You can try to do File > Close Project and then re-open the build.gradle. It will ask you if you want to re-use the existing project, choose Delete and Re-Import here.

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

Yes, I definitely switched to the 1.10 branch.

Importing a new project and pointing at the build.gradle file didn't actually ask me if I wanted to reuse the project. It just opened.  But it appears to have opened things in a "file only" mode rather than a project. e.g. I can browse the source files but they're not treated as code, just files that contains text.

Still no background tasks.

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

Background tasks are something else, they are not relevant.

You definitely did "Open" and then selected the build.gradle, right? Because if so... I am stumped. Do you have the gradle sidebar now?

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

You said "tasks list" not "gradle."  There was no "tasks list" in the lower left but there was a "gradle."  I did not know I had to open the gradle window before being able to find tasks.

 

Reopened the project that actually was a project and yes, I have the gradle tasks list.

 

Now what?

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

I was intending for you to look at the image in my spoiler, with the red arrows :P

You run the setup task.

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

I was intending for you to look at the image in my spoiler, with the red arrows :P

You run the setup task.

 

They were hard to see in the scaled down one, and in the scaled up one it was cut off and I only saw the lower left one.

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

Scrolling? Right-click->Open image in new tab? :D

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

See, because I hadn't seen them, I didn't think to. >.>

 

Anyway, setup is running now.

 

I'm not even sure this is worth doing as it feels like every PR I make (that isn't outright rejected for inane reasons) is just ignored.  Like this one, which is literally stopping me from updating a mod.

 

Sigh.

Ok, now what?

great.png

 

It unhelpfully marked this task as having had an error, but displays no details anywhere that I can find.

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

Press this button to switch to the console output:

rrn9dwf.png

 

As for PRs: Keep bumping them ;)

  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

Press this button to switch to the console output:

 

Impenetrable UI is impenetrable.

 

:decompileJar FAILED

Daemon stopping because JVM tenured space is exhausted

 

As for PRs: Keep bumping them ;)

 

By doing what? Just posting "bump" in the comments?

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016
Impenetrable UI is impenetrable.
You get used to it. Don't tell me eclipse is any better than this.

 

:decompileJar FAILED

Daemon stopping because JVM tenured space is exhausted

Adjust the Gradle Memory: File > Settings > Build, Execution, Deployment > Build Tools > Gradle > Add "-Xmx2G" (or more) to Gradle VM options.

 

By doing what? Just posting "bump" in the comments?
No. You could for example ask what is missing for the PR to get merged.
  • Quote

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

Impenetrable UI is impenetrable.
You get used to it. Don't tell me eclipse is any better than this.

 

In Eclipse the most inane thing I've found is that in order to search the entire project for a text string I need to have that text string highlighted in an open file.

 

Nearly everything else can be found in a context menu or one of the top row menus.

 

Well, ok, I had to set up my own hot keys to quickly switch back from Debug Perspective to Java, but still.  It's not like that was hard to figure out.  IntelliJ acts like it doesn't have tooltips on things.  Seriously, the delay on the tooltips for the various icons is like 5 seconds.  Every other program in existence uses something close to a half or a quarter of a second.

 

Setup finished, but I still have no access to vanilla files.

  • Quote

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.

Share this post


Link to post
Share on other sites

Draco18s    2414

Draco18s

Draco18s    2414

  • Reality Controller
  • Draco18s
  • Members
  • 2414
  • 15998 posts
Posted October 19, 2016

Fuck it.

Nuked everything, started over.

Ran setup via command prompt, got an eclipse folder this time.

 

Only problem...all the net.minecraftforge packages are missing.  The complete reverse of what I was getting with IntelliJ

forge.png

 

The hell?

  • Quote

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.

Share this post


Link to post
Share on other sites

diesieben07    7696

diesieben07

diesieben07    7696

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7696
  • 56382 posts
Posted October 19, 2016

Sorry man, I got nothing.

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • cadbane86140
      Minecraft: Parkour Stairs Part 1!

      By cadbane86140 · Posted 48 minutes ago

      Hello There! Today we are playing a BRAND NEW parkour map that was actually just released about a month ago and all I gotta say is that this map is so freaking unique and the map creators did something with this map that we have never seen in parkour before! There are so many hilarious moments in this video that I know you guys are gonna love! I hope you all enjoy this video and if you did don't forget to like and sub for more! https://www.youtube.com/watch?v=5aGkMp5bExg
    • cadbane86140
      Revisiting our 2013 head shop!

      By cadbane86140 · Posted 48 minutes ago

      Hello there! With the recent re release of the old creative server I knew I had to make a video on there. So that is exactly what we did! We did a small tour of our old plot like we did last time but however we remembered some of our old friends and we checked out their old plots too! If you guys want us to do more where we just travel to different plots and talk about them let me know! But I hope you all enjoy this video and if you did don’t forget to like and sub for more videos Like this in the future! https://youtu.be/_m_lViaMlGU
    • kiou.23
      Block Rotate

      By kiou.23 · Posted 1 hour ago

      That's usually the case, always try to understand the code before copy and pasting, or else you'll get a lot of headaches later in the code's life
    • Varzac
      Forge jar file not opening

      By Varzac · Posted 1 hour ago

      I ran Jarfix and then tried installing again with the same results. Nothing happening I even tried using winrar, but as you said nothing happened
    • BeardlessBrady
      [1.16.4] Null when OpenGUI

      By BeardlessBrady · Posted 1 hour ago

      Ah.. Thats what I get for stopping half way through and not double checking, thanks!
  • Topics

    • cadbane86140
      0
      Minecraft: Parkour Stairs Part 1!

      By cadbane86140
      Started 48 minutes ago

    • cadbane86140
      0
      Revisiting our 2013 head shop!

      By cadbane86140
      Started 48 minutes ago

    • ehbean
      10
      Block Rotate

      By ehbean
      Started 8 hours ago

    • Varzac
      3
      Forge jar file not opening

      By Varzac
      Started 14 hours ago

    • BeardlessBrady
      2
      [1.16.4] Null when OpenGUI

      By BeardlessBrady
      Started 2 hours ago

  • Who's Online (See full list)

    • ThisIsNotOriginal
    • Sqsuensay
    • ash-122
    • Beethoven92
    • HappyAndJust
    • Funyaah
    • ehbean
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Setting up Forge to Develop Forge
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community